blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e78a06c55b81a298a20ac5274dae88d48a72fd81 | ceec3182ad1b8cf4007c90109f2948f0704bc3a8 | /HW2/BLB/final/Plotter.R | 8505028a85482406490f4484226daca2b1ec4ad8 | [
"MIT"
] | permissive | jmwerner/STA-250 | a42550ec5e8a5a1a36394525791ad75f3d019e9a | 203b442f809117d4ed0dfaeb50ed0c2ad2d08a33 | refs/heads/master | 2020-12-24T11:25:46.878804 | 2013-12-12T11:18:55 | 2013-12-12T11:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 374 | r | Plotter.R | setwd("/Users/jmwerner1123/Dropbox/GitHub/Invisible/STA250/HW2/BLB/final")
data = read.table("blb_lin_reg_data_s5_r50_SE.txt", header = TRUE)
attach(data)
pdf("SE_plot.pdf")
plot(x, ylab = "Standard Error Values", col = "#106BFFBB", pch = 16)
abline(h = mean(x), col = "RED", lwd = 2)
legend("topleft", c("Mean"), lty =... |
e95d0976e05d57e74bb12ea93b1b83eb4334c168 | 2cf2150a24f2eacaba639cdc7393a40650ba2d41 | /Board Game Analysis.R | 6bf121ec13923370ed7fe3bac3ff3d1163ded14d | [] | no_license | chiayunchiang/Board-Game-Analysis | 3f2fd0d5e0a93d662dbced7be9a882fa6d303cac | 2a80cbff6c416aef14a478e5c4c04ed572324e71 | refs/heads/main | 2023-06-03T07:41:59.352679 | 2021-06-19T04:09:28 | 2021-06-19T04:09:28 | 378,305,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,642 | r | Board Game Analysis.R | # Overview
# Part_1 Environment Setup
# Part_2 Quick view of dataset
# Part_3 Data Cleaning - Add new features into dataset
# Part_4 Data Visualization & Analysis
# Part_5 Not selected visualizations
# Part_1 Environment Setup
# Empty environment
rm(list=ls())
# Install funModeling, extrafont packages
install.package... |
dd3ad2e00dcb422276c6772e3dfc2ec2be315f7a | 479a7427ad45156fe9950588f6071ba102b949fe | /Random Forests.R | 10ce6aa80d7cf55b8635d46e335afe07f7308fbc | [] | no_license | jaldecoa1/Practice | 62e67ce00cd3e8c31690037a6cfeae5bab306971 | b3e53b9bbaa6312e5c47793ed42c8a72cbe8a96a | refs/heads/master | 2022-11-19T07:47:03.975975 | 2020-07-19T23:42:05 | 2020-07-19T23:42:05 | 280,458,534 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,882 | r | Random Forests.R | # Random forests
library(ggplot2)
library(randomForest)
# Get data
url <- "http://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/processed.cleveland.data"
data <- read.csv(url, header = FALSE)
# Clean up data
colnames(data) <- c(
"age",
"sex",
"cp",
"trestbps",
... |
5fe7e63a3ae82eb581b651d9ef32a3e5e3c42755 | 0754603b7cdad0ceca3ee2a72ce76b90e85f83f6 | /man/get_attr_names.Rd | 54a8c6cc2f6d9c9476a746e172d3715132fb9123 | [] | no_license | cran/hdfqlr | 63da901e49d5b907f600b5fecdd36e66628f0b94 | 0700e6fd98a347d21642efe735af981fb7379549 | refs/heads/master | 2021-07-02T20:26:59.782690 | 2021-06-11T03:50:02 | 2021-06-11T03:50:02 | 236,610,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 411 | rd | get_attr_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/basic.r
\name{get_attr_names}
\alias{get_attr_names}
\title{Get HDF Attribute Names}
\usage{
get_attr_names(path)
}
\arguments{
\item{path}{The path of the dataset or group from which to
retrieve attribute names.}
}
\value{
A vec... |
8f761e0ca442041fb760159b36ef5ffaf5a11e4b | 34b1ab46a70fe81143874a40d6493c0254f1e5c9 | /R/xgbfi_R_test.R | b8c947721f0cfbeb62740b66c26c65d443b86235 | [] | no_license | yama1968/Spikes | 5f974a20812dbd88f789cabf7720826d358f8e76 | 498b0cacfc23627ecee743f012a6fda6451cda7f | refs/heads/master | 2021-06-06T00:33:33.637745 | 2020-11-14T18:49:25 | 2020-11-14T18:49:25 | 29,531,065 | 2 | 0 | null | 2020-11-12T21:13:21 | 2015-01-20T13:29:35 | Jupyter Notebook | UTF-8 | R | false | false | 374 | r | xgbfi_R_test.R | library(xgboost)
library(Ecdat)
# devtools::install_github("RSimran/RXGBfi")
library(RXGBfi)
data(Icecream)
train.data <- data.matrix(Icecream[,-1])
bst <- xgboost(data = train.data, label = Icecream$cons, max.depth = 3, eta = 1, nthread = 2,
nround = 2, objective = "reg:linear")
features <- names(Ic... |
5050dffdec4744004b37b929143810089eba7739 | 9bdef83f28b070321ba27709d2c7ec028474b5c3 | /R/install.R | 94d5692079fbee8eac40e5b149c510ffa5ed7817 | [] | no_license | antagomir/scripts | 8e39ce00521792aca1a8169bfda0fc744d78c285 | c0833f15c9ae35b1fd8b215e050d51475862846f | refs/heads/master | 2023-08-10T13:33:30.093782 | 2023-05-29T08:19:56 | 2023-05-29T08:19:56 | 7,307,443 | 10 | 15 | null | 2023-07-19T12:36:45 | 2012-12-24T13:17:03 | HTML | UTF-8 | R | false | false | 1,219 | r | install.R | # biclust requires installing curl and setting curl-config path
# see locate libcurl and locate curl-config and
# http://www.omegahat.org/RCurl/FAQ.html
#~/local/bin/curl-7.20.1> ./configure --prefix=/users/lmlahti/bin
# make && make install
# After adding path to .cshrc
#(line: set path=($path /home/lmlahti/bin/curl-... |
fdcdbd471110a5d532e3b8ac123d980acf300c96 | 61a3978c8068d4a4079388e7d4353d15afe1606b | /R/Dists.R | bb68897ed65332f5a48356b76de405b45575119b | [] | no_license | cran/SuppDists | ce29b265a053861a2d925ed79620526bf8110c74 | 28e891aa9bc0268838ba19c37502420ed0e255a7 | refs/heads/master | 2022-01-30T20:23:33.023947 | 2022-01-03T17:10:06 | 2022-01-03T17:10:06 | 17,693,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,990 | r | Dists.R |
dFriedman <-
function (x, r, N, log = FALSE)
{
M <- max(length(x), length(r), length(N))
x <- rep(x, length.out = M)
r <- rep(r, length.out = M)
N <- rep(N, length.out = M)
rho <- rep(FALSE, length.out = M)
value <- .C(`dFriedmanR`, as.double(x), as.integer(r), as.integer(N),
as.integ... |
fe0a3dd26137764d23b2b711a27bd1082420e87d | c5a3060f7b0d69ee796b3de261101b800462b79e | /cachematrix.R | 143a6416eb76fe7d03dc1313b9386faf88fd4f3c | [] | no_license | Offikial/ProgrammingAssignment2 | df10e08432a913614393f3f6028fdff614695db2 | aefc80985e496a66c0502cf77efd5810b9ba1de6 | refs/heads/master | 2021-01-18T06:36:19.116107 | 2014-07-23T08:25:54 | 2014-07-23T08:25:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,326 | r | cachematrix.R | ## Below are two functions that are used to create a special object that stores
## an inversible matrix and cache's its inverse.
# The first function, makeCacheMatrix creates a special "matrix", which is really a
# list containing a function to:
## -- set the value of the matrix, x
## -- get the value of the matrix, x... |
73e1cda48bd3f2d70ad6f99147bac0327810a8d5 | 84f7a8fb119455b18bd59db8238b8f663bf9fd33 | /Correlations.R | 12a1b3b1dc35673679712faa338afc9625dbfa12 | [] | no_license | LiamCullenCS/ELO-Ratings | d45939d221bc9e6236e84e05734e6d2f0d8c3416 | f739ae2ac30e457c7253516eb9d44ced480c9d98 | refs/heads/master | 2020-05-01T01:20:35.571723 | 2019-04-06T18:26:41 | 2019-04-06T18:26:41 | 177,193,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 484 | r | Correlations.R | library(nflscrapR)
library(tidyverse)
library(ggplot2)
TeamDistributions <- read.csv(file = "TeamDistributions.csv", header = TRUE, sep = ",")
rankings <- read.csv(file = "ELO Rankings.csv", header = TRUE, sep = ",")
View(TeamDistributions)
TeamDist <- as_tibble(TeamDistributions)
Sacks <- TeamDist %>% pull(SackPCT)... |
d2e78f24bb9079f1204e275eed47d4316acd80e7 | b383bc7cc80209c5c7d2d56f8902448eee384b5e | /man/cluster.evaluation.Rd | 4db06c55d0e6289cba9ce99ffa66c39e18f9c77e | [] | no_license | cran/TSclust | 73fa98f494cc373d9bc7bda11d3fa661afb687de | 2231e2b398f816965d67039208617f4e9d731fc1 | refs/heads/master | 2021-07-11T21:43:47.095710 | 2020-07-22T20:10:21 | 2020-07-22T20:10:21 | 17,693,906 | 11 | 7 | null | null | null | null | UTF-8 | R | false | false | 3,011 | rd | cluster.evaluation.Rd | \name{cluster.evaluation}
\alias{cluster.evaluation}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Clustering Evaluation Index Based on Known Ground Truth%% ~~function to do ... ~~
}
\description{
Computes the similarity between the true cluster solution and the one obtained with a meth... |
38a4fc1d3bdd354f7e15da331ffcf6fd54ac6130 | cde8ee6cf40b7f8856ac1bb2ad3760eb8627694e | /scripts/sv1.R | 3db646146914007fe5f366d15a789b4f5fd429cd | [] | no_license | pourzanj/homebuying | f6009196637bab8f0ae346eade6f8f0d923f3ab6 | 08bbf1a21cfad02b3be0365a4f8553f2f7d64518 | refs/heads/master | 2023-02-08T10:36:34.021505 | 2023-01-20T22:44:57 | 2023-01-20T22:44:57 | 234,444,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,602 | r | sv1.R | library(tidyverse)
library(tibbletime)
library(tidyquant)
library(cmdstanr)
library(posterior)
library(bayesplot)
library(moments)
spx <-
tq_get(c("^GSPC"),
get = "stock.prices",
from = "2002-01-01",
to = "2022-12-31") %>%
mutate(y = 100*log(close/lag(close))) %>%
na.omit() %>%
mutat... |
47f7fe044d6abac35bd982a36f99f793e1fc1c0f | 9855d52b68287ce333abcaa1fcb814e2ec0fd822 | /data-raw/industry.R | e42dd63c290a9e4471374ce5123d05b3dd712c38 | [
"MIT"
] | permissive | sunsiyu/featurer | 5f99e49216a0ad40334125694f3dc95feb849d23 | 0f6e8de8b13a4f8999df6aaf099c8b0f95205b45 | refs/heads/master | 2020-04-06T05:03:31.707118 | 2016-07-10T18:09:57 | 2016-07-10T18:09:57 | 56,992,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 862 | r | industry.R | allindustries <- c(
"Accommodations",
"Accounting",
"Advertising",
"Aerospace",
"Agriculture",
"AirTransportation",
"Apparel",
"Accessories",
"Auto",
"Banking",
"Beauty",
"Cosmetics",
"Biotechnology",
"Chemical",
"Communications",
"Computer",
"Construction",
"Consulting",
"ConsumerProducts",
"Education",
"Electronics",... |
81fb61a7c0240ed0beb728b31cf193ab89c54e44 | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkCTreeSortNode.Rd | 3ac9085170e858bd986849e64b493c04b0ccd3a4 | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | rd | gtkCTreeSortNode.Rd | \alias{gtkCTreeSortNode}
\name{gtkCTreeSortNode}
\title{gtkCTreeSortNode}
\description{
Sort the children of a node. See \code{\link{GtkCList}} for how to set the sorting
criteria etc.
\strong{WARNING: \code{gtk_ctree_sort_node} is deprecated and should not be used in newly-written code.}
}
\usage{gtkCTreeSortNode(obje... |
8e42263c9125b0309e6b73712b77d8629ab69a97 | f6513b202b9ad00cf073c891f99f5cd0af74cb48 | /R/gameprediction.R | 03c8cbf98fe5a3901b70ea85246221325f477df0 | [
"MIT"
] | permissive | zecellomaster/SoccerEloForecast | a24a0d9a7e5d5e9a49068177d4d1b70e661a870d | 73c3f0f67fbafebe73e2988153f47c607d3fc111 | refs/heads/master | 2023-03-29T17:32:41.837944 | 2021-03-27T01:23:10 | 2021-03-27T01:23:10 | 351,920,661 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,457 | r | gameprediction.R | #Name: gameprediction.R
#Author: zecellomaster
#Date: 03/17/21 (v1.0)
#' Returns simulated match results or a list of the % chance of a win/loss/draw
#' of the higher Elo team (Team A).
#'
#' @import stats
#'
#' @param function_mode String or int; which mode should the function run: "chances"
#' or the number of matche... |
78bd4bc4c5975761f05af757ff5f0bfa0796456f | 0974cce1a019a2fe22b7fd453ac2ef73ce335cbc | /man/load_data.Rd | 155d646f3f276da44a4cf973f84f9b7f0e132f1f | [
"MIT"
] | permissive | cavargasru/globalrc | b8ee273ea21271132efaebe83214f7a28ce6939c | 75911c6a0c8c06b80643416f06b0830ab5ee48ce | refs/heads/main | 2023-08-06T09:43:33.344894 | 2021-09-15T20:49:25 | 2021-09-15T20:49:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 611 | rd | load_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_variables.R
\name{load_data}
\alias{load_data}
\title{Load input data, including pr2ar, the PfPR, and the AM.}
\usage{
load_data(config, pr2ar_version, domain_extent, years)
}
\arguments{
\item{config}{Input configuration file name.}
\i... |
c70b9887a42f19c2c8bf7cdd302e01a6378dc6b0 | d1ed371eee97ff630710ab30a942385fe92857c8 | /basic/map-china/plot.R | 3882367a0ff5d47293366e81ab542588bf5f472a | [
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference",
"AFL-2.1",
"AFL-3.0"
] | permissive | geng-lee/plugins-open | 7097fc237c9cab9ba8d1bf6f6c964b19837ae56c | 6151ca0e0b437cc5555a71ec4eacfa1354bbd8bd | refs/heads/master | 2022-12-17T06:21:24.486819 | 2020-09-27T14:45:33 | 2020-09-27T14:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,018 | r | plot.R | #######################################################
# China Map. #
#-----------------------------------------------------#
# Author: < Mingjie Wang > #
# Affiliation: Shanghai Hiplot Team #
# Website: https://hiplot.com.cn ... |
26041e239c87fb280fea6fb5b9d28d3c7e5b9517 | cd73a0a038e0c0983ed20ce02a9f30fe5b47dc78 | /man/plot.superSeq.Rd | e979e936ce28ed974649a0e0009b67a406eab2a0 | [
"MIT"
] | permissive | StoreyLab/superSeq | 35e2359e64e409d02a4b58ce81eeaf62f86654a0 | 52c287dae1c9daa6c141fa866dc2536298c8b815 | refs/heads/master | 2020-05-21T02:35:00.692786 | 2019-05-13T19:23:15 | 2019-05-13T19:23:15 | 185,881,979 | 13 | 1 | null | null | null | null | UTF-8 | R | false | true | 352 | rd | plot.superSeq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-superSeq.R
\name{plot.superSeq}
\alias{plot.superSeq}
\alias{plot,}
\title{Plotting for superSeq object}
\usage{
\method{plot}{superSeq}(x, ...)
}
\arguments{
\item{x}{superSeq object}
\item{...}{not used}
}
\description{
Plotting for s... |
eed6f29262f9094bc807a9a32a3c20e047942a07 | 0f91cbac74fcd5186311af4363f1c8e7fadefca7 | /R/hello.R | 669febd48baed3f4b3d808ad0267fe55c32d6da3 | [] | no_license | MichaelbGordon/PooledMarketR | e8df56112f62826e60fe517c7034c612fd1436a3 | 34270889d9fbff62b07a996271988ba2c8c0e9b3 | refs/heads/master | 2020-05-19T15:27:50.059836 | 2019-06-10T19:54:38 | 2019-06-10T19:54:38 | 185,085,454 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 728 | r | hello.R | # Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
# http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
# Build and Reload Package: 'Cmd + Shift + B'
# Check Package: ... |
ec9a41a6256e3d8cbaa2acdf91e1ce6d2af70522 | d129aca2797ec95826d5dd639a0254f29647bba4 | /makeCacheMatrix.R | f3efb0b633d2eb9c38d52de06ba49065830d66fd | [] | no_license | 200002466/ProgrammingAssignment2 | cc3772256df83c35619a9066837712b0f417c193 | 37fdb7f117bbe97b22f30d15a2e0cd5980088b35 | refs/heads/master | 2020-12-25T12:39:34.260487 | 2015-08-23T22:16:27 | 2015-08-23T22:16:27 | 41,263,574 | 0 | 0 | null | 2015-08-23T19:21:18 | 2015-08-23T19:21:17 | null | UTF-8 | R | false | false | 1,480 | r | makeCacheMatrix.R | makeCacheMatrix <- function(matrix_1 = numaric()) {
## The function make Cache Matrix creates a special matrix object
## that can cache its inverse.
##
## ******** Define Input Variables ********************
## matrix_1 is a square invertabl matrix
##
## ******* Define Local... |
fb2eb3b42a50e3ac6fcbe1383589892f2a0cd48a | 5ac5920bc54c456669b9c1c1d21ce5d6221e27eb | /facebook/delphiFacebook/man/compute_multiple_choice.Rd | 6c804d5c7956725579b7ab99ca8cba6135cf3d5f | [
"MIT"
] | permissive | alexcoda/covidcast-indicators | 50e646efba61fbfe14fd2e78c6cf4ffb1b9f1cf0 | 0c0ca18f38892c850565edf8bed9d2acaf234354 | refs/heads/main | 2023-08-13T04:26:36.413280 | 2021-09-16T18:16:08 | 2021-09-16T18:16:08 | 401,882,787 | 0 | 0 | MIT | 2021-09-01T00:41:47 | 2021-09-01T00:41:46 | null | UTF-8 | R | false | true | 1,083 | rd | compute_multiple_choice.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/contingency_calculate.R
\name{compute_multiple_choice}
\alias{compute_multiple_choice}
\title{Return multiple choice response estimates. Val is the number of people
represented by the survey respondents in a given response.}
\usage{
compute_m... |
d9c8528a73e064dc3face20a879573190845fe6c | d406b9068f635eed507ed21f000aaa55e3ec034c | /man/nls_panel2.Rd | 02814258cd3a1b3fe3ed79403dff1a03fac75a0e | [] | no_license | Worathan/PoEdata | 273eab591e56b08252dff3f681c1c9e0b34f7d79 | d415eb1b776b04c29ee38d58bbbd1bf37ef92eb1 | refs/heads/master | 2020-04-20T11:10:02.167677 | 2019-02-02T08:35:48 | 2019-02-02T08:35:48 | 168,808,539 | 0 | 0 | null | 2019-02-02T07:53:41 | 2019-02-02T07:53:41 | null | UTF-8 | R | false | false | 1,710 | rd | nls_panel2.Rd | \name{nls_panel2}
\alias{nls_panel2}
\docType{data}
\title{
Nls_panel2 Data
}
\description{
obs: 1432 [2 year on 716 individuals]
}
\usage{data("nls_panel2")}
\format{
A data frame with 1432 observations on the following 26 variables.
\describe{
\item{\code{id}}{group(id)}
\item{\code{year}}{interview year... |
3942d9c78fdcd12918a70b5824cda01d6f813ebc | 29585dff702209dd446c0ab52ceea046c58e384e | /cpgen/R/clmm.R | 107a54908fe5930d0284721133870f8137a0060b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,421 | r | clmm.R | #
# clmm.R
# Claas Heuer, June 2014
#
# Copyright (C) 2014 Claas Heuer
#
# This file is part of cpgen.
#
# cpgen is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your ... |
417e9f785a4c0cdaef7d126c3a671eead57d2503 | 6e0ea601537671eecba6a0f50e24d4784d692584 | /R/RobustScores.R | d2842bde66e76301c8e3bac5bf032297ba8d11b0 | [] | no_license | GiulioCostantini/IATscores | 35fb6569d654f2f15d39760ca88ff0ca8b8984a8 | b7b38d7ba3bda4be3975fcf73a58e1a0ca8b7911 | refs/heads/master | 2021-01-10T02:48:59.513457 | 2020-05-09T16:59:13 | 2020-05-09T16:59:13 | 24,192,714 | 0 | 1 | null | 2020-05-02T11:14:25 | 2014-09-18T15:05:56 | R | UTF-8 | R | false | false | 5,864 | r | RobustScores.R | RobustScores <- function(IATdata,
P1 = c("none", "fxtrim", "fxwins", "trim10", "wins10",
"inve10"),
P2 = c("ignore", "exclude", "recode", "separate",
"recode600"),
P3 = c("dscore", ... |
dbc9645dacf707b0c5f11d77b1ab500c168180ab | c657d3786e9620369e96ca5e19e2923c390e2f37 | /koond/yld.R | a05c7d0e4911287efbbbffeb6705063a0fdaabf5 | [] | no_license | AndresVork/Rita2 | cf865f7ae0ef921fca6414d8590ea508ea046b78 | a8adedb9d5558a3fe042593c3ddb50c59b07ebc4 | refs/heads/master | 2023-01-13T18:48:34.562971 | 2020-11-14T09:12:21 | 2020-11-14T09:12:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,428 | r | yld.R | ##############################################
# Üldandmed meedet kasutanud ettevõtte kohta
#
# (c) 2020 - Raoul Lättemäe
#
##############################################
library(tidyverse)
# Lae käibe- ja statistikanumbrid
load("~/Dokumendid/R/EMTA/2019-2020.rdata")
andmed$Käive.2019 = rowSums(andmed[,c("Käive.i.... |
ab1177543af26d41eda0e29735e1bb4327b51d5f | beb34c320ef5feb6449b81b4cbbba2eebf4b1407 | /individual_scripts_and_data/home_values.R | bdf75b0b896f7365e13ceb81d3b250dacdac9689 | [] | no_license | buczkowskir/POL_251_Spring_2021 | 558cead6b1ee65496b51334f7491293ceaf148b7 | bb9b80255f1d66c4597b7b33ecf333ab657c4b25 | refs/heads/master | 2023-04-09T16:53:31.518910 | 2021-04-23T15:07:07 | 2021-04-23T15:07:07 | 345,797,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,249 | r | home_values.R |
# Data Analysis of Historic Home Prices
# Ryan Buczkowski
#----------------------------------------------#
# Loading Libraries
pacman::p_load('tidyverse', 'scales')
# Importing Data
read_csv('https://raw.githubusercontent.com/IQSS/workshops/master/R/Rgraphics/dataSets/landdata-states.csv') -> home_values
# Look... |
38a6906e96607b78410407b45fb9001b619e32ee | 44167d61586c84d4d8290e5e46c1c8a836b45e74 | /analysis/stability_report.R | 947c0d947e83bee27454a5a6752e697228b77451 | [] | no_license | cboettig/bs-tipping | 24027cc993e302667a7bff07bda5251872c6b026 | aae4ded2c2972816a41f6776ab5f991a5592197c | refs/heads/master | 2021-04-15T18:21:44.004715 | 2018-12-18T03:52:43 | 2018-12-18T03:52:43 | 126,869,682 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,104 | r | stability_report.R | #' ---
#' title: "Stability analysis of a trophic cascade model"
#' author: "Ryan Batt"
#' date: "2018-06-16"
#' abstract: |
#' Makings of a stability analysis of a trophic cascade model. Starting by focusing on fish (adult bass, juvenile bass, and a planktivore), though the model is easily extensible to include... |
204f7bb71f9af2b112743a4c8efb43f5835d4e8c | 036cc8379ad8795ea1489960503e92a68017b322 | /man/aug.scanone.Rd | 72378ac98c1fcacb47aee40626eae0e9532535bc | [] | no_license | kbroman/qtlview | c189ee1425855afc5af4a03077e9e0a65f654fa9 | beaf6198de1e9e689f1e1e808113641166908624 | refs/heads/master | 2021-12-01T20:38:50.546974 | 2013-06-28T14:56:35 | 2013-06-28T14:56:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,168 | rd | aug.scanone.Rd | \name{aug.scanone}
\alias{aug.scanone}
\alias{plot.aug.scanone}
\alias{summary.aug.scanone}
\alias{plot.summary.aug.scanone}
\alias{plot.summary.aug.scanone}
\title{Plot 1-D scan of LOD and/or means}
\description{
Profiles of one or more phenotypes. If only one phenotype, in
addition profile the means by genotype.
}
\u... |
9e7ccb1c7008faf9cab71e551330002b56ae43c3 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Pan/k_branch_n/k_branch_n-4/k_branch_n-4.R | fb128d5990897441d198a208de019d92566c4ed8 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 62 | r | k_branch_n-4.R | 45371ddd55ee93a13a055f8155de99aa k_branch_n-4.qdimacs 803 2565 |
f3323ce419e6dc008cde18aaa37510e89064eac4 | f9dbed5e13b8020ff385e5ffd3ed52c640d5d936 | /2.Training/1.Iterator.R | 21f6f943f01f63ee5dab68279dd58aae59418947 | [] | no_license | ji9su/OA_Net | d2dbd05de8d175c317acbafb03b9129f108d297b | 6261d4b050dfde4e1b22cc8b603e9f52f157227d | refs/heads/main | 2023-01-19T14:55:44.495085 | 2020-11-23T11:15:13 | 2020-11-23T11:15:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,374 | r | 1.Iterator.R |
# Libraries
library(OpenImageR)
library(abind)
library(jpeg)
library(mxnet)
img_info_path <- 'img_info.RData'
load(img_info_path)
OA_data <- read.csv("data/label.csv")
train_table <- OA_data[OA_data[,'group'] == 1, (-2)]
val_table <- OA_data[OA_data[,'group'] == 2, (-2)]
#test_table <- OA_data[OA_data[,'group'] ==... |
7c31702d625b24d455da6374ba730e91ca186b54 | 8aeaed41d216fb2323f21b4d236d079d83322eeb | /Project1/Plot4.R | e1fe45899a32e562ac531cf2216a2384933d7c37 | [] | no_license | muammara/JHExploratoryDataAnalysis | a0b915ff1608176c16d6ecc07c97d7efd9f36d83 | 41bb9a83ce247e2f9dc5e8c79485ab7f48388420 | refs/heads/master | 2021-01-19T14:12:41.245380 | 2017-04-13T06:40:42 | 2017-04-13T06:40:42 | 88,132,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,200 | r | Plot4.R | par(bg="white",mar=c(4,4,2,2),mfrow=c(2,2))
cols=c("character","character",rep("numeric",7))
frm<-read.table(file="e:/ds/EXP/household_power_consumption.txt",sep=";",header=T,stringsAsFactors=F,colClasses=cols,na.strings="?")
frm2<-frm[frm$Date == "1/2/2007" | frm$Date == "2/2/2007",]
frm2$DateTime<-strptime(paste(frm2... |
c460930747d21444c3013aa75ba86441c3b162e7 | 7eb63399fa00e3c547e5933ffa4f47de515fe2c6 | /man/lgcpSimSpatial.Rd | 0a2569ce611b3c9a0418ca96f13e05674beca6f8 | [] | no_license | bentaylor1/lgcp | a5cda731f413fb30e1c40de1b3360be3a6a53f19 | 2343d88e5d25ecacd6dbe5d6fcc8ace9cae7b136 | refs/heads/master | 2021-01-10T14:11:38.067639 | 2015-11-19T13:22:19 | 2015-11-19T13:22:19 | 45,768,716 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | rd | lgcpSimSpatial.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/spatialOnly.R
\name{lgcpSimSpatial}
\alias{lgcpSimSpatial}
\title{lgcpSimSpatial function}
\usage{
lgcpSimSpatial(owin = NULL, spatial.intensity = NULL,
expectednumcases = 100, cellwidth = 0.05,
model.parameters = lgcppars(sigma =... |
e28e26947377aad205d2e2876fd2333f9749eab8 | 29585dff702209dd446c0ab52ceea046c58e384e | /RJafroc/inst/GUI/server.R | 58fb3fee799d4ce3f999a2d072b894f299f50343 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 67,754 | r | server.R | ReportTextForGUI <- function(dataset, method = "DBMH", fom = "wJAFROC", alpha = 0.05, covEstMethod = "Jackknife", nBoots = 200) {
UNINITIALIZED <- -Inf
if (method == "DBMH") {
methodTxt <- "DBM-MRMC HILLIS SIGNIFICANCE TESTING"
result <- DBMHAnalysis(dataset, fom, alpha)
} else if (method == "ORH") {
... |
b0d8c7af14e492c5f7c1a9cfbe7cf2621afa23c8 | ad184b82a6d1d74f7ed3110c5bccf10719170bd7 | /man/check_r_causact_env.Rd | 17acb925b2cf7ac0b946c7b654099bdabfa4d554 | [
"MIT"
] | permissive | flyaflya/causact | 5a5f695e92ac79997de2fd291845f8ed51b05805 | 17c374a9c039c0d5726931953d97985d87d7dcaa | refs/heads/master | 2023-08-31T13:00:47.344039 | 2023-08-19T13:27:50 | 2023-08-19T13:27:50 | 130,230,186 | 39 | 15 | NOASSERTION | 2022-06-02T14:09:58 | 2018-04-19T14:42:45 | R | UTF-8 | R | false | true | 289 | rd | check_r_causact_env.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{check_r_causact_env}
\alias{check_r_causact_env}
\title{Check if 'r-causact' Conda environment exists}
\usage{
check_r_causact_env()
}
\description{
Check if 'r-causact' Conda environment exists
}
|
b0a786713873bdcd73aa093dbe5b67866de0675f | 661d4d3f14e14b699c697efc8db05a220ed40eb9 | /mosaicApps/mosaicManipShiny/mDensity/mDensity.R | 92cf7ece1e84825654ed4c0409997896083a5e2c | [] | no_license | dtkaplan/MOSAIC-Summer-2015 | 60518bb08edb3c7165ddb5e74104ccdfdb1c0225 | 2f97827b9e09fccc7cc5679888fe3000d71fe1cc | refs/heads/master | 2021-01-23T13:31:24.897643 | 2015-11-17T22:39:39 | 2015-11-17T22:39:39 | 35,576,261 | 0 | 1 | null | 2015-06-02T21:24:26 | 2015-05-13T21:58:29 | R | UTF-8 | R | false | false | 367 | r | mDensity.R |
myFun=function(bandwidth, dist, trans, npts, ...){
if(dist=="Normal")
x=rnorm(npts, mean=0, sd=5)
if(dist=="Uniform")
x=runif(npts, min=-10, max=10)
if(dist=="Exponential")
x=rexp(npts, rate=1)
trans.x=trans(x)
dens = densityplot(trans.x, xlab= "Values", bw=bandwidth,
scal... |
fa0b971c68e016a5173c449a6d617ce1013cad08 | 2de826713dade1f40a8dbb08d07a550f02ebb846 | /ui.R | 3c8476ebeb207648d5912feb6636a8f66591a6f2 | [] | no_license | jamesfuller-cdc/chainchecker-godata | 2d5ed1aa2eae9ad7fc4aaaa476aa0e483bb93e7c | 909a5d4471382dc0e7bd8e30ab1942f8e012455b | refs/heads/master | 2023-03-17T09:21:43.983083 | 2020-02-26T15:47:54 | 2020-02-26T15:47:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,385 | r | ui.R | library(shiny)
library(shinythemes)
library(plotly)
library(shinycssloaders)
navbarPage(title = "chainchecker",
selected = "Home",
theme = shinytheme("cerulean"),
tabPanel("Home",
icon = icon("home"),
... |
8fa2edc9f9f06724d373dd7e7194c81ce058e98c | 8eaf931982f7e38b1a5fd934f2da31383edb459f | /ui.R | 90afcb148a8ec0a3ac0c502b6161fe89a47f1ad3 | [
"MIT"
] | permissive | alexdum/roclib | a1b0356ab43b287ffcbba3c9a518f9f4f229c3c9 | e82696ce5e6437eebebc5e885ecdb82fa2c79edd | refs/heads/main | 2023-08-29T17:13:57.795073 | 2021-11-15T20:55:28 | 2021-11-15T20:55:28 | 369,631,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,019 | r | ui.R |
#source("sections/ui_about.R", local = T)
#source("sections/ui_graphs.R", local = T)
source("sections/ui_maps.R", local = T)
source("sections/ui_about.R", local = T)
# meta tags https://rdrr.io/github/daattali/shinyalert/src/inst/examples/demo/ui.R
ui <- shinyUI(
ui <- function(req) {
fluidPage(theme = shin... |
94d6c9aa3b2fc26c5d7b487688a164a31e303fbe | 29585dff702209dd446c0ab52ceea046c58e384e | /mreg/R/randfn.R | cdf1bf29942c687d9bb51481c01edeaddbb24a05 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | r | randfn.R | "randfn" <-
function(n, family, ...){
args <- list(...)
switch(family,
negbin= rnbinom(n, size=exp(args$size), mu=args$mu),
poisson=rpois(n, lambda=args$mu),
geometric=rgeom(n, prob= args$mu),
binom=rbinom(n, size=args$size, prob=args$mu)
)
}
|
15352ac293acd072e85c6c3c5ba61f38721b1812 | 8d207dbc1b45bee06135ed900eba7357b40c9b72 | /NBA Analysis.R | 085e66d2d6eb84786ba6ec7f852c6a5be248be6d | [] | no_license | ericborn/NBA-analysis | 12a18e95f1b9d86d6c4c5cf2ca086b16a23a1912 | 43c39e80fb5b80380000880348d66f3e17692348 | refs/heads/master | 2020-08-27T11:11:02.608035 | 2019-10-31T17:26:26 | 2019-10-31T17:26:26 | 217,346,121 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,048 | r | NBA Analysis.R | # Eric Born
# CS688 Final Project
# 2003-2004 NBA Analysis
library('XML')
library('rvest')
library('purrr')
library('plotly')
library('stringi')
library('googleVis')
library('SportsAnalytics')
# a)
# The 2003-2004 season of the NBA is being used as the dataset
######## b)
# pull down 2003-04 season stats
NBA.Stats <... |
f4ee02c3871120896da0b6c5748252f8fc90f1e2 | 7e3595925017a252e6a5c5ee48d4c7eb8fdcff93 | /ZYXUnaivelasso/man/print.las.Rd | c483aea4e084f89a41f5f3f13c2b18833abbc0b8 | [] | no_license | OliverXUZY/ZYXU_naivelasso_ | 9dd91071151d14ccc6378cf9939aac62ee468c58 | 45789f0fc4ff25d2d97b24939f95d97d34d6795b | refs/heads/master | 2020-04-09T04:14:42.534294 | 2018-12-02T05:23:21 | 2018-12-02T05:23:21 | 160,015,511 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 412 | rd | print.las.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print_lad.R
\name{print.las}
\alias{print.las}
\title{Print \deqn{coefficient of LASSO regression}}
\usage{
\method{print}{las}(obj, ...)
}
\arguments{
\item{obj}{the object you get from lasso function}
\item{...}{further argument... |
eae249ed7b0d0575560004104376e3b5e5b8f736 | 99fa87a363c47c5304e101a1e7740e238aa01412 | /inst/article/simstudyintervals.R | 20910d3a8c8e5a84e8e1ab9a8197b54e986ccb93 | [] | no_license | elray1/PACwithDDM | f1d1cc6c249a687feea1dce4d45fe737a53772c4 | 01b6d323986ca05b2b6072318c0fe79d6dff7b31 | refs/heads/master | 2021-05-09T02:18:00.150153 | 2018-01-27T19:29:19 | 2018-01-27T19:29:19 | 119,192,480 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,394 | r | simstudyintervals.R | <<fitSimStudyResultsLMEModel, cache = FALSE, echo = FALSE>>=
suppressMessages(suppressWarnings(library("nlme")))
suppressMessages(suppressWarnings(library("multcomp")))
# fit mixed effects model with a separate mean for each combination of
# data set, accelerometer location, response variable and fit method, random eff... |
43f87b127a22b0cef3e79bce8fd23bde665816f3 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/configservice_delete_resource_config.Rd | e7ad7a5778701c74247fbb407d25c589d1da0f58 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 869 | rd | configservice_delete_resource_config.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/configservice_operations.R
\name{configservice_delete_resource_config}
\alias{configservice_delete_resource_config}
\title{Records the configuration state for a custom resource that has been
deleted}
\usage{
configservice_delete_resource_conf... |
dffbf2fdd8b0adc2ce7a0ecf675d1f45577e6173 | e4a1c496a3fe7e8f76d436313604db8fc041d92c | /ProgrammingAssignment_Week1/plot1.R | fc5570013b72698597ff884e7efefc86e34b6b99 | [] | no_license | iopetrid/ExploratoryStatistics | 0000c83ca334bbee328f18a44bd1e4e99574fb9e | aa0e20f28c4f1c0e9e10f78f65f20665923a4861 | refs/heads/master | 2020-04-06T09:30:22.884661 | 2018-11-13T12:30:22 | 2018-11-13T12:30:22 | 157,345,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 487 | r | plot1.R |
# Read all data and subset the desired data
all_data<-read.table("./household_power_consumption.txt",header=TRUE,sep=";",na.strings ="?")
desired_data<-subset(all_data,Date %in% c("1/2/2007","2/2/2007"))
desired_data$Date<-as.Date(desired_data$Date,"%d/%m/%Y")
# plot 1 and save to png
hist(desired_data$Global_acti... |
188f238609c90998022b058a0fa49b66019d4380 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/rotations/man/Q4.Rd | 8894c10bd5ac8e5657aa2d240f17e216837304f0 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,794 | rd | Q4.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Q4-class.R
\docType{data}
\name{Q4}
\alias{Q4}
\alias{as.Q4}
\alias{as.Q4.default}
\alias{as.Q4.SO3}
\alias{as.Q4.Q4}
\alias{as.Q4.data.frame}
\alias{is.Q4}
\alias{id.Q4}
\title{`Q4` class for storing rotation data as quaternions}
\format{
\c... |
df6870a769195f50d20bed78f886148668158d8d | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkToolbarSetShowArrow.Rd | 53f432724924a19c4f01e5b32c5fbdeb7fe80e99 | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 595 | rd | gtkToolbarSetShowArrow.Rd | \alias{gtkToolbarSetShowArrow}
\name{gtkToolbarSetShowArrow}
\title{gtkToolbarSetShowArrow}
\description{Sets whether to show an overflow menu when
\code{toolbar} doesn't have room for all items on it. If \code{TRUE},
items that there are not room are available through an
overflow menu.}
\usage{gtkToolbarSetShowArrow(o... |
174030c5ecb3d1396b986db59a2588becab94158 | 8dd69e3acbf7981be3ced0f2db97e356ebe84804 | /R_Folder/Palencia_Hansel/test_shunt.R | d5ea2f83bdc8c48925ddec82afecdd38c2bf44ac | [] | no_license | creightond/Hydrocephalus_Payload | fc4c2e09b18ed772399748f88d7fcffc63e8eea5 | 0529037cabf8427b588e6cf51c619b9499487417 | refs/heads/master | 2022-06-20T19:10:08.982060 | 2020-05-13T00:25:31 | 2020-05-13T00:25:31 | 258,606,314 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,749 | r | test_shunt.R | library(tidyverse)
dat <- read_csv("R_Folder/Data/DATALOG_FLIGHT.TXT")
dat <- dat %>%
select(`Sample Number`, `NR exptime (s)`, `X Acceleration (G)`, `Y Acceleration (G)`, `Z Acceleration (G)`, `Flight Altitude (ft)`)
dat <- map(dat, as.numeric)
dat <- data.frame(dat)
dat <- dat %>%
rowid_to_column()
# dat ... |
45735d4a8d0d2d0031a717c0ee350007cdb04ebc | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Introductory_Statistics_by_Sheldon_M._Ross/CH6/EX6.7/Ex6_7.R | 643cd7c1131ebaaf70d4040870df4ad91c1c0ff1 | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 294 | r | Ex6_7.R | # Page No. 279
pa=2*(1-pnorm(1))
cat("P{|Z| > 1}=",signif(pa,digits=4))
pb=2*(1-pnorm(2))
cat("\nP{|Z| > 2}=",signif(pb, digits=4))
pc=2*(1-pnorm(3))
cat("\nP{|Z| > 3}=",signif(pc,digits=4))
cat("\nApproximation rule verified")
# The answer may slightly vary due to rounding off values. |
267195ea548f5efd99fdb67ad286cbd50db15162 | d80c94901adad9211f8cffb782d0e91e9860299b | /man/distsampOpen.Rd | 29f37e99bf93613d2f00244d739434f4769e243e | [] | no_license | rbchan/unmarked | b104daaa4d05178e5be74a509cc771ae5f246e55 | ac40eede793b0997209117080912a866a2ff18ae | refs/heads/master | 2023-08-16T22:44:39.138574 | 2023-08-11T20:21:52 | 2023-08-11T20:21:52 | 564,481 | 30 | 36 | null | 2023-08-11T20:21:53 | 2010-03-16T03:57:15 | R | UTF-8 | R | false | false | 10,275 | rd | distsampOpen.Rd | \name{distsampOpen}
\alias{distsampOpen}
\title{
Open population model for distance sampling data
}
\description{
Fit the model of Dail and Madsen (2011) and Hostetler and Chandler
(2015) with a distance sampling observation model (Sollmann et al. 2015).
}
\usage{
distsampOpen(lambdaformula, gammaformula, omeg... |
bd232c7cfb715f461cb0665fa3f78c50beb20c79 | 86880f7b472955cc9928733a2077988e8ee6f847 | /figure/plot2.R | 26e735a74bedb7db2e095bddc069d3d8ea7b4558 | [] | no_license | cathetorres/ExData_Plotting1 | 84bb546c1f37b9eec8b8362b81da168decf1cee7 | 762514ddcd66f012210a798869a0449b36645d26 | refs/heads/master | 2021-01-22T09:47:44.273469 | 2015-04-11T16:20:23 | 2015-04-11T16:20:23 | 33,776,104 | 0 | 0 | null | 2015-04-11T13:09:59 | 2015-04-11T13:09:58 | null | UTF-8 | R | false | false | 638 | r | plot2.R | # Reading the data
df <- read.table("household_power_consumption.txt", header=T, sep=";", na.strings="?",
colClasses = c("character", "character", rep("numeric", 7)), comment.char="")
#Converting date
df$Date <- as.Date(df$Date, "%d/%m/%Y")
# Subsetting for date 2007-02-01 and 2007-02-02
df.subset <... |
52bba74ba73d54ac20f4729740e86ec8514eb4c4 | 9d8b743d802fb2a067ea4b1c12b44f4d9685418b | /man/plot-gdist-windowDistT.Rd | 5834e977c212c8a0332c41e5168b3df36ed986d3 | [] | no_license | cran/RcmdrPlugin.KMggplot2 | 24bee4662164a40a502101b4aef4e0aaa500e23d | a7397a49cf3ceab2bfc33fff8812e3c31b9e030d | refs/heads/master | 2021-01-14T02:35:35.657819 | 2019-09-17T06:10:02 | 2019-09-17T06:10:02 | 17,693,102 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 357 | rd | plot-gdist-windowDistT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-gdist.r
\name{windowDistT}
\alias{windowDistT}
\title{Wrapper Function of t Distribution Plot Subclass}
\usage{
windowDistT()
}
\description{
\code{windowDistT} function is a wrapper function of \code{gdist} class for the R-comm... |
5c21b386f4f6cbc140a9bfc7dcec1db19881a489 | 9719ea69f693adfddc62b27eaf948fc7b16f6ad0 | /R/add_dates.R | dcd104e8b8692a352b34182ee38b6e872478284b | [] | no_license | dbca-wa/wastdr | 49fe2fb1b8b1e518f6d38549ff12309de492a2ad | 5afb22d221d6d62f6482798d9108cca4c7736040 | refs/heads/master | 2022-11-18T01:00:41.039300 | 2022-11-16T08:32:12 | 2022-11-16T08:32:12 | 86,165,655 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,620 | r | add_dates.R | #' Add turtle dates to a dataframe with datetime col `observation_start_time`.
#'
#' \lifecycle{stable}
#'
#' @param data a dataframe with datetime col `observation_start_time`, e.g. the
#' output of ODKC form "turtle track or nest", "predator or disturbance", or
#' "marine wildlife incident". If the date_col is plain ... |
03ace20e536d9c8059d7eed0b5cf6cbf9138538b | acd7d1ed6175556193f2284c0933e675de9576ca | /log_log_pernambuco.R | 4783e5f7ea4bc554acb9c80bdf4af323fb6d0610 | [] | no_license | institutodegestao/covid19predicoes | a0eb61e4a83e1c232ef89ac6e73d6fa14a37ffb0 | f91199006bf27e369a012cc07176ff91dc61beb3 | refs/heads/master | 2022-11-09T21:01:26.231543 | 2020-06-21T23:58:26 | 2020-06-21T23:58:26 | 273,982,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,683 | r | log_log_pernambuco.R | fit_ll <- drm(totalCases ~ dia, fct = W1.4(),
data = pe_relatorio)
summary(fit_ll)
plot(fit_ll, log="", main = "Log logistic")
# x <- getMeanFunctions()
# LL.2 LL2.2 LL2.5 LL.3 LL.3u LL.4 LL.5 W1.2 W1.3 W1.4 AR.2
fit_ll_ob <- drm(deaths ~ dia, fct = LL.5(),
data = pe_relatorio)
summary(fit_ll_ob)
plot(fi... |
1f4b7f376dd5fabbb6ef5258148abc2c89b54c7e | 4d36492368e067bdc821b2ee8bc5a9d524458c9a | /man/processcheckR.Rd | 8ba62f11cab4303719c9aafce4b08b5338a7aa5c | [] | no_license | cran/processcheckR | 27e177bb799cb9ebfe4708ea56c9bb99cbd1685f | bb4e4523ae7b65f4f37adcf3eb1380735f8887a3 | refs/heads/master | 2022-10-15T01:29:09.022611 | 2022-10-03T08:40:08 | 2022-10-03T08:40:08 | 152,093,595 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 298 | rd | processcheckR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/processcheckR.R
\docType{package}
\name{processcheckR}
\alias{processcheckR}
\title{processcheckR - Check rules in event data}
\description{
Tools to check declarative rules in event logs.
}
\keyword{internal}
|
50326a46d4fe17a7282e2fbb8f6be7ad9a842f40 | b2f1be76cc51511dded3eb5c2d080f83b8bee71f | /man/mergeSubCluster.Rd | 2642ab7feea695bd0eb4a08c684b9f0b6b09fe72 | [] | no_license | basilkhuder/extendSC | 17ecbb001ba649c7b4cf6b2f0023be60b1a7d810 | 5e32181c088b0a6e8e64affc8f373cc90bc3cfbd | refs/heads/master | 2023-06-18T17:33:04.791354 | 2021-07-19T22:00:24 | 2021-07-19T22:00:24 | 243,655,379 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 763 | rd | mergeSubCluster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mergeSubCluster.R
\name{mergeSubCluster}
\alias{mergeSubCluster}
\title{Merge a reclusted sub-sample back into main object}
\usage{
mergeSubCluster(seurat.obj, subcluster.obj, cluster.replace, annotation.name)
}
\arguments{
\item{seu... |
9a5bc2c0a6c42485f36a75a465bd83695056b5dd | cdfb90159c8162e80796a92ac63de0d37ea91478 | /man/home_run_contour.Rd | e74870b37e070a7e351341095b1cb447d489f375 | [] | no_license | bayesball/CalledStrike | 28168c684b2004733c11733905a62912dd70b7fc | 451438ace005564dc51abd53510d4efeffaf8a68 | refs/heads/master | 2022-06-07T20:44:59.341284 | 2022-03-21T13:14:32 | 2022-03-21T13:14:32 | 169,013,289 | 6 | 4 | null | null | null | null | UTF-8 | R | false | false | 565 | rd | home_run_contour.Rd | \name{home_run_contour}
\alias{home_run_contour}
\title{
Home Run Contour Plot
}
\description{
Constructs home run contour plot for a specific player
}
\usage{
home_run_contour(df, L = seq(0.04, 0.24, by = 0.04), title, NCOL = 2)
}
\arguments{
\item{df}{
data frame or list containing Statcast data
}
\i... |
75d77d351cf8e495d687070ceb26d400acf9cb33 | 2a186ccb02ff9b304baa3a4ae13653bc9397990c | /data frame/loop break.R | da7d197decb2ade91dc4a0f56f1db373bc3b5c59 | [] | no_license | aigurus/nptel-Python_for_DS_and_Data_ScienceforEngg | 873ff50bfc9fe03e1de7970d5ff91626b5834973 | a0825d4b8158ab0c0292b0ce3534eaed1569453d | refs/heads/master | 2022-10-22T16:15:20.748793 | 2020-06-20T06:19:09 | 2020-06-20T06:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 96 | r | loop break.R | n=100
sum=0
for(i in seq(1,n,2)){
sum=sum+i
print(c(i,sum))
if(sum>20)
break
}
|
c29cde7517ba6318d88d08e776860327d06e63f8 | dbd043b4c25b321dbf4bdbb84f9072f0ee3975bc | /R/datasets.R | c5bb78627d6fb3c2b80be94150907a71821fd13f | [] | no_license | tylergiallanza/arulesViz | c6654b6832cc4781418aedea8afa4b0d1f7d743f | 451303bb506788d39729c97e2cc3b183af2f5562 | refs/heads/master | 2022-04-14T18:09:24.382289 | 2020-04-19T22:57:45 | 2020-04-19T22:57:45 | 114,668,835 | 1 | 0 | null | 2018-04-09T22:13:32 | 2017-12-18T17:26:02 | R | UTF-8 | R | false | false | 47,181 | r | datasets.R | library('devtools')
#install_github('ianjjohnson/arulesCBA')
#install('C:\\Users\\Tylergiallanza\\Downloads\\arulesCBA-master\\arulesCBA-master')
library(arulesCBA)
library(randomForest)
library(tensorflow)
library(caret)
count_na <- function(df) {
sapply(df, function(y) sum(length(which(is.na(y)))))
}
prepare_vote... |
97b3b2f40f77696b459752a0bdf26b6aa61a4002 | b42b794892a9b3fd492d627acdc046c90df62af0 | /man/fars_read.Rd | 6f9348e455055ea3e66ebd6c9dca366bf814cb7b | [] | no_license | dddbbb/fars | 11aab51d53031c5e47494d0efc9c380b6e761fe1 | 95baaf2a3c27a91bb5990b5bfb15a7f1351e961e | refs/heads/master | 2020-05-26T13:29:52.319181 | 2017-02-19T19:44:47 | 2017-02-19T19:44:47 | 82,480,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 503 | rd | fars_read.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_read}
\alias{fars_read}
\title{Read FARS data}
\usage{
fars_read(filename)
}
\arguments{
\item{filename}{Integer or string name of file for reading}
}
\value{
data.frame is output of the function
}
\description{
Re... |
d8939db003cafd23d66f57075d78ff151f19131e | 49859dc68647c5782fa4ce2bdeb703bd28cb81db | /man/gr.kmedoids.Rd | 7db9e00bc9aef79320c3d88ed99d3368c3826179 | [] | no_license | cran/RiemGrassmann | de43079eadef1dd0d82c3151752ffa7fc8b83eb4 | 36674fa8ecb807ed9733095383c470f96821bb43 | refs/heads/master | 2022-04-12T18:06:43.052688 | 2020-03-25T14:50:06 | 2020-03-25T14:50:06 | 250,133,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,927 | rd | gr.kmedoids.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gr_kmedoids.R
\name{gr.kmedoids}
\alias{gr.kmedoids}
\title{k-Medoids Clustering on Grassmann Manifold}
\usage{
gr.kmedoids(
input,
k = 2,
type = c("Intrinsic", "Extrinsic", "Asimov", "Binet-Cauchy", "Chordal",
"Fubini-Study", "Mart... |
12ace7ed90603617344d66f7c7ac02092b8cce70 | 4ed6dfdbac828314df254c82b9dab547d7167a79 | /04.ExploratoryDataAnalysis/video_lectures/week2.video06.ggplot2Part4.v1.R | 65df44b3fd0e9abc5c1f8da6844eaf6d12beb134 | [] | no_license | minw2828/datasciencecoursera | beb40d1c29fc81755a7b1f37fc5559d450b5a9e0 | e1b1d5d0c660bc434b1968f65c52987fa1394ddb | refs/heads/master | 2021-03-22T00:15:15.147227 | 2015-08-21T07:55:10 | 2015-08-21T07:55:10 | 35,082,087 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 292 | r | week2.video06.ggplot2Part4.v1.R | ## ggplot2 (part 4)
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
##
|
dd62add6bebfd4727db51fd1e4f0290458bbffbc | 32e401807cfee3c00e52c82e1998200f7b0ac227 | /Scripts/Analysis.R | 06fe968c7b8258b8972af7e208d80c261f31a74f | [] | no_license | crushing05/stopover_assign | e94bbf4476637bc985fba0d9cd4ec4418d72a9a8 | bbf16ba8ef461063e40e12f0e8a8b974e9a11cac | refs/heads/master | 2021-01-10T12:42:00.062667 | 2017-11-30T17:06:56 | 2017-11-30T17:06:56 | 53,863,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 86,042 | r | Analysis.R | install.packages("devtools")
devtools::install_github("crushing05/iso.assign2", force = TRUE)
#devtools::install_github("crushing05/crushingr")
require(devtools)
require(Rcpp)
require(tibble)
require(DBI)
#require(crushingr)
require(iso.assign2)
require(tidyr)
require(ggplot2)
require(dplyr)
#require(purrr)
#bring in... |
2f681c31247cf16c187c3d4dd2b281e10355295f | b151e3598ccb33656c1617f6152de34eac332fd2 | /testdata.R | 4067412180f27bb58a383e347a2c952f8bd724f0 | [] | no_license | ssimpore/testing | d4389c9f1c73e5d1489554be3ca8baeb2037fca8 | 754b0ff818d9db6be14040e00ebfaf387c1aba3f | refs/heads/master | 2022-10-23T05:25:08.818194 | 2020-06-20T21:24:31 | 2020-06-20T21:24:31 | 273,335,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 158 | r | testdata.R |
df = read.csv("C:/Users/JG6010/Dropbox/DOCUMENT/Formation/Data Science/JOHNS HOPKINS UNIVERSITY/The Data Scientist Toolbox/R/TestR/Data/Prod.CSV")
View(df) |
3919ede66112fbc2bde0db34e53a663601c99944 | 10f047c7631b3aad90c7410c567c588993bfa647 | /DispersalSimulation/Thesis/ModelGraphs.R | 3ded325e3d04d2084425ee718bc6ec755a0229dd | [] | no_license | ruthubc/ruthubc | ee5bc4aa2b3509986e8471f049b320e1b93ce1d5 | efa8a29fcff863a2419319b3d156b293a398c3a9 | refs/heads/master | 2021-01-24T08:05:40.590243 | 2017-08-30T01:37:56 | 2017-08-30T01:37:56 | 34,295,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,895 | r | ModelGraphs.R | # TODO: Add comment
#
# Author: Ruth
###############################################################################
setwd("C:/Users/Ruth/Dropbox/")
library(FlexParamCurve)
library(nlshelper)
mytheme <- theme_bw(base_size=15) + theme(panel.grid.major = element_blank(), panel.grid.minor = element_blan... |
5d3e30a1f8931a89eec6a73b86a3820577956111 | e055378297084fa87419c17ae813cb288f94d6dc | /importar_datos/tabular/01-tabular-data.R | e4ee2c45fc07eca51e36db8104c704455b214709 | [] | no_license | diosimar/ciencia-de-datos-con-r | 48cf041582fc7f03e5c8be3164253779d026e8f8 | 3228589ec1c605e490c835ec18b143e8b3ad600d | refs/heads/master | 2023-03-16T20:37:53.446037 | 2018-04-16T13:46:09 | 2018-04-16T13:46:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 417 | r | 01-tabular-data.R |
# Importar Archivos de Texto
library(readr)
csv <- read_csv("data/Water_Right_Applications.csv")
# Importar Archivos de Excel
library(readxl)
excel <- read_excel("data/Water_Right_Applications.xls")
# Importar Archivos SPSS
library(haven)
sav <- read_sav("data/Child_Data.sav")
# Importar Archivos SAS
sas <- read_... |
43a76f3838b61dc7418a80bdd17b8872362232fe | 4e8ba753742048ff9abe1fc1cbd6962831bc0c48 | /man/cG.Rd | 6a3cbc1224d31e465104ad7c81673c54908e1ad9 | [
"MIT"
] | permissive | CJBarry/DNAPL | b8af12be56e15ce0404f977b8aa9f67d5ed4330c | 30f287e46b0b4f3cbe5e20c35982f4dc7452c32a | refs/heads/master | 2021-01-23T00:53:20.619082 | 2017-08-01T21:49:50 | 2017-08-01T21:49:50 | 85,844,501 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,707 | rd | cG.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DNST_model.R
\name{cst-cnvG}
\alias{cnvG.DNmodel}
\alias{cst-cnvG}
\alias{cstG.DNmodel}
\title{Constant and Convering power mass-flux relationship model}
\usage{
cstG.DNmodel(wg, wpm, hp, Gamma, Srn, Srw, phi, rho, Cs, hL,
NLAY = length(hL)... |
adafb8b16277595791789cb85d404fa02da5632e | eac61fdb09864ed4f95222996851c656678bc5d2 | /man/breast.Rd | f2e11c11dc433495d456b88671eb6c4f02fa9ffe | [] | no_license | cran/dglars | 4b54c2ebe8101754aa7a45249a02975e868e3e74 | ba40024f96eb31f8a06133abaa008a5d4a8f1a55 | refs/heads/master | 2020-06-04T04:58:08.005888 | 2020-02-26T09:40:02 | 2020-02-26T09:40:02 | 17,695,485 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,566 | rd | breast.Rd | \name{breast}
\docType{data}
\alias{breast}
\title{
Breast Cancer microarray experiment
}
\description{
This data set details microarray experiment for 52 breast cancer patients. The binary variable \code{status} is used to indicate whether or not the patient has died of breast cancer (\code{status = 0} = did not die o... |
3dca5d88722395bd05e7d474fd15a4895ae01517 | a5c7d31a873316639d1cb1576161bafa84fc9650 | /Assignment-5/code/que3-b.R | 2fea7f79f67850a9932fd3fc5778385bf3a2e9d8 | [] | no_license | hrushikesht/Monte-Carlo-Simulation-MA226 | c666310dadc1e6051f0b1ba44930cb5239889784 | 6471c877fa274092c2125c27ab569443df4d7302 | refs/heads/master | 2021-01-19T07:50:44.073237 | 2017-04-26T16:30:34 | 2017-04-26T16:30:34 | 87,423,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 507 | r | que3-b.R | n<-10
dist<-c(0.05,0.25,0.45,0.15,0.1)
cdf<-c(0.05,0.25,0.45,0.15,0.1)
sample<-vector(length=n)
for(i in 2:5)
{
cdf[i]<-cdf[i]+cdf[i-1]
}
i<-1
c<-0.45
lim<-5
while(i<=n)
{
x<-lim*runif(1)
x<-floor(x)+1
px<-dist[x]
if(c*runif(1)<px)
{
sample[i]=x
i<-i+1
}
}
# genDiscrete()
png("que3b_in_R.png")
hist(sampl... |
722b8ea14e3f251510a2928261e0600ecdd08033 | 940a028200ff58df2719faad500d7fc991f1d61e | /man/fPassNetworkChart.Rd | 09584675fbdf39897673caaa7ab11e25bc49f4c8 | [
"MIT"
] | permissive | thecomeonman/CodaBonito | c896c41363eab4c50e55d2c1ad66a25a25491beb | 632a1c17bfe6fa530292ce70861a51cfcaca9066 | refs/heads/master | 2023-04-08T22:09:45.765183 | 2023-04-02T05:36:56 | 2023-04-02T05:36:56 | 211,389,135 | 26 | 7 | null | null | null | null | UTF-8 | R | false | true | 1,470 | rd | fPassNetworkChart.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fPassNetworkChart.R
\name{fPassNetworkChart}
\alias{fPassNetworkChart}
\title{Pass network ( WIP )}
\usage{
fPassNetworkChart(
dtPasses,
dtPlayerLabels,
nXLimit = 120,
nYLimit = 80,
nSegmentWidth = 1,
cFontFamily = "arial",
cFor... |
3cddc2723a5b14619453ffc25fb9d2740a41e4b9 | 6ba3c2e9be2430072720856059221eff4c831216 | /R/ETCiwd.R | d636f40fb82ecdb92e70f5a5a2a11e94fedb1a62 | [] | no_license | frajaroco/PI | f6741b0bd64f3d60831f0ffbfe9482be17210103 | 1f246c7760dee2ac9cdad46bda82845624a4c1e1 | refs/heads/master | 2022-07-04T18:05:44.842120 | 2020-05-22T06:46:08 | 2020-05-22T06:46:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 669 | r | ETCiwd.R | ETCiwd <- function(data.eto, farms, rastera, date.start, date.end=date.start, stat.coord){
data.eto$date <- as.Date(data.eto$date)
data.search <- subset(data.eto, date >= date.start & date <= date.end)
data.stat <- sapply(1 : length(names(table(data.search$id.sta))), function(i) subset(data.search, id.stat == names(ta... |
e114fbe5755ae5e92cc449b89e814f81c8262555 | 8420b44814113c5b984edd2d565195062a3eaef0 | /src/reddit/award.R | c98802eee8c216201172fd8f9dbd6c7bb24c8630 | [
"Apache-2.0"
] | permissive | beaudryjp/sna_fcaR | fa22489515a7a63e4d850923874419b547ff6399 | c5de324ca9140b3d51df026d6271d5dbe9a64ea7 | refs/heads/main | 2023-07-17T08:05:31.249149 | 2021-09-05T15:39:32 | 2021-09-05T15:39:32 | 347,778,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,628 | r | award.R |
# STRUCTURES ######################################
### Returns the dataframe structure for awards
### @parameters: none
### @returns: dataframe
df_award = function(){
data <- data.frame(post_id = character(), coin_id = character(), quantity = integer())
return(data)
}
### Returns the dataframe structu... |
bbe4bfe63690e099831f6cdbac8a4360bb7595dd | b1ee6ba6c754e8a44d2baab99b0a6565ef19d628 | /get_all_catch_data.r | 3d54bcde23c182d9bfb00eca293357d7231c821e | [] | no_license | jasmyace/CAMP_RST | 527c48a01c5cd9992ad2282f37d0ded70883591f | 1681df75097bb99279e681458e0c6a432ebfcd37 | refs/heads/master | 2021-01-17T22:43:53.743451 | 2015-10-01T19:23:41 | 2015-10-01T19:23:41 | 26,222,751 | 0 | 0 | null | 2015-10-01T18:26:31 | 2014-11-05T14:19:46 | R | UTF-8 | R | false | false | 2,280 | r | get_all_catch_data.r | F.get.all.catch.data <- function( site, taxon, min.date, max.date ){
#
# Fetch the catch data for a SINGLE TAXON from an Access data base.
# This function retrieves all catch data for
#
# input:
# db = full path and name of the Access data base to retrieve data from
# tables = vector with named components c... |
d5480976172ce94d46aa468918f8f450091aa5b8 | 789c0c3b0fc4abe910453a520ff6a0392b43d30d | /PrimRecur/paired_patient_CNA_traj.r | fb270a8c62029b1ca3bcaa3e7c9721638e8c3e63 | [] | no_license | SMC1/JK1 | 7c71ff62441494c09b148b66b4d766377c908b4b | db8ec385468f8ff6b06273d6268e61ff4db3701f | refs/heads/master | 2016-09-05T17:29:15.217976 | 2015-04-29T05:58:02 | 2015-04-29T05:58:02 | 6,700,479 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,223 | r | paired_patient_CNA_traj.r | inDirName = '/EQL1/PrimRecur/paired'
inSegDirName = '/data1/IRCR/CGH/seg/seg/link'
graphicsFormat = ''
cnaMaxAbs = 3
chrLenDF = read.table('/data1/Sequence/ucsc_hg19/chromsizes_hg19.txt',header=F)
totChrLen = 0
for (chr in c(1:22,c('X','Y','M'))) {
totChrLen = totChrLen + chrLenDF[chrLenDF[,1]==sprintf('chr%s',chr)... |
4b1a57a22e7513e85f878c68d9350acc07487de8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ari/examples/ari_stitch.Rd.R | f3668cd671f23e9e8bfeb484cc31bd41051660c6 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 378 | r | ari_stitch.Rd.R | library(ari)
### Name: ari_stitch
### Title: Create a video from images and audio
### Aliases: ari_stitch
### ** Examples
## Not run:
##D
##D library(tuneR)
##D library(purrr)
##D
##D slides <- c("intro.jpeg", "equations.jpeg", "questions.jpeg")
##D sound <- map(c("rec1.wav", "rec2.wav", "rec3.wav"), readWave)
#... |
b155647bedd516542f6959fd6f86c7f93ced2091 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diversityForest/inst/testfiles/numSmaller/libFuzzer_numSmaller/numSmaller_valgrind_files/1610037434-test.R | d55d5de1fbe5cc9b05c66ae35df9cf29c3c214b1 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,050 | r | 1610037434-test.R | testlist <- list(reference = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), values =... |
e46d98ca8cf959e35d5690d13a6d53907591d663 | 3f80ff92034075fb293f1753c698fdbab65b08f0 | /Rscripts/6.0_SummarizePrioritizationTargets.R | 27106ca7d6e58b995d8c43b02bb534ca19dc66fa | [
"MIT"
] | permissive | ApexRMS/a238 | da66e9b5c09bbd0304d96bda298a009eea590c3e | 9da3fb4946c151419d1d9e77734458f42307c72e | refs/heads/master | 2023-03-30T17:50:38.619191 | 2021-04-13T13:49:57 | 2021-04-13T13:49:57 | 295,523,122 | 0 | 0 | null | 2021-04-13T13:49:58 | 2020-09-14T19:51:29 | R | UTF-8 | R | false | false | 6,990 | r | 6.0_SummarizePrioritizationTargets.R | ## Workspace ---------------------------------------------------------
options(tibble.width = Inf)
# Packages
library(tidyverse)
library(raster)
## Directories
rawDataDir <- paste0("Data/Raw")
procDataDir <- paste0("Data/Processed")
##Load files ---------------------------------------------------------
# Natural ... |
e725aec83c7df86740b78acfef9f0fadcabecb78 | 2cdb135e648cbf6f78a5b55b424f8bdb13f5c140 | /scripts/rawDocStats.R | 2748d907f87bb9432d67ef0eb9cb6fc76514eb00 | [] | no_license | Fairlane100/SOTL-project | 89c234d5078ea1b9d110791cd688aafb99f9d150 | 1ea832f0e39b96836c2e916a16ffa43bc11a574c | refs/heads/master | 2021-01-20T19:42:02.219274 | 2016-12-01T20:15:57 | 2016-12-01T20:15:57 | 46,145,850 | 0 | 0 | null | 2016-09-16T18:46:47 | 2015-11-13T20:35:12 | C# | UTF-8 | R | false | false | 774 | r | rawDocStats.R | ## Calculate stats of the documentMetaData.csv contents.
# report stats in some form.
#doc.df <- read.csv(file = "documentMetaData.csv", stringsAsFactors = FALSE)
count <- dim(doc.df)[1]
tna <- length(which(is.na(doc.df$title)))
ana <- length(which(is.na(doc.df$authors)))
yna <- length(which(is.na(doc.df$year)))
sna <... |
16dd73d1181446a80c0557a5c1cccfb12eb26b53 | 21389b192885261b990d6fd9c1e910f0e2f0f4bd | /scripts/script18_now_degree_days_10yr.R | 121295c4ad509e2d96252b62b3855531c861b38c | [
"CC0-1.0"
] | permissive | ChuckBV/ms-lost-hills-areawide-y06-to-y15 | 6edab930a49c4393fa1f4e121ebb033bb93a5cb1 | c4d7543f1a79bd42f6b7a215619f43e36ba3bacf | refs/heads/main | 2023-03-05T11:25:04.089391 | 2021-02-21T04:59:19 | 2021-02-21T04:59:19 | 335,468,449 | 0 | 0 | null | 2021-02-21T04:53:33 | 2021-02-03T01:05:33 | R | UTF-8 | R | false | false | 7,660 | r | script18_now_degree_days_10yr.R | #===========================================================================#
# script18_now_degree_days_10yr.R
#
# Exploratory script examining whether temperature or other factors could
# be identified as strongly influencing whether there was more damage in
# NP than MO or vice-versa. Degree-days did not seem to be ... |
513d88ae5dc01c4f110a6fab537ff755c58d318b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/diffee/examples/diffee.Rd.R | 7dc8d8a6a14116618229a23adc59931f12985a28 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 330 | r | diffee.Rd.R | library(diffee)
### Name: diffee
### Title: Fast and Scalable Learning of Sparse Changes in High-Dimensional
### Gaussian Graphical Model Structure
### Aliases: diffee
### ** Examples
## Not run:
##D data(exampleData)
##D result = diffee(exampleData[[1]], exampleData[[2]], 0.45)
##D plot.diffee(result)
## End(No... |
689e27962009f77be4cda4dc5128a97995cd4b9a | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /decido/inst/testfiles/earcut_cpp/libFuzzer_earcut_cpp/libfuzzer_logs/1609874842-inps.R | 5fe8919be835518cef668a609a5229bd336e4ba5 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,889 | r | 1609874842-inps.R | list(holes = c(255L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, -16777216L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,... |
e9ea33da08eb428bf52179ad1d5014d5ee6d97dc | d1c11b61b4d7dc5c6ceee99894bc7f775280f36e | /R/estimating.R | 4e7da36f9cfabb1d2f1fa5f0eba1f5a107efb76b | [
"Apache-2.0"
] | permissive | Allisterh/natural-rates-gaps | d8a52762dc888c4aaddbd56b4018826d8f61b1ea | f184456e8a36ca31688b72a01d0f4ac30d2b0f8f | refs/heads/master | 2022-01-14T03:15:46.501689 | 2018-04-21T00:15:33 | 2018-04-21T00:15:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,485 | r | estimating.R | ## estimating
library(MCMCpack)
library(mvtnorm)
#options(digits = 10)
set.seed(1)
# Importing data
# iStart <- 1996
# iEnd <- 2017.917
# iFreq <- 12
# mY <- read.csv("data-raw/brmacrom.csv", dec=",")
# mY <- ts(mY, start = iStart, frequency = iFreq)
iP <- 12 #defasagens
iStart <- 1996
iEnd <- 2017... |
0d8c108fe116d7a6d97503ffe3e584634bc31c57 | 3f4caf12ea8ddae704d573e987958b3f90fa23c0 | /EDA_case_study.R | e9ffad1f33e97113cb9062d0754064cf4094c00f | [] | no_license | harsharay/EDA-case-study | e53c2098b825202faa52de64197b4eccf2b4120e | 5ca07635a342ca0977fd43a6368ff46b9bb18c48 | refs/heads/master | 2020-04-04T19:19:02.728171 | 2018-11-05T10:41:19 | 2018-11-05T10:41:19 | 156,201,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,117 | r | EDA_case_study.R | #Create a seperate dataframe for only chargedoff status
loan_chargedOff <- loan[loan$loan_status=="Charged Off",]
View(loan_chargedOff)
#Create a seperate dataframe for only full paid loan status
loan_Paid <- loan[loan$loan_status=="Fully Paid",]
View(loan_Paid)
#Create a seperate dataframe for only current l... |
edecf92a5a5c12c272792bdbbee47ff015509bdc | 4ca3723018b7998478095b402ddc9a1cbeb2aa33 | /run_analysis.R | 9e4202ba68d09831549c2d55ee8ab814c9e215b1 | [] | no_license | dscoursera/datacleaning | d65198b922c5adcd140886d2fdd588b16ea349fe | 98cf1dd183c142696f3421a94a388cb127125369 | refs/heads/master | 2021-01-21T06:59:14.768460 | 2014-06-20T17:03:16 | 2014-06-20T17:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,756 | r | run_analysis.R | ## preliminaries ##
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
if (!file.exists("UCI HAR Dataset.zip")) download.file(fileUrl, destfile="./UCI HAR Dataset.zip", method = "curl")
dateDownloaded <- date()
dateDownloaded
require(reshape2, quietly = TRUE)
#
... |
ebb7206ed02d0fca31f61fa805f5f139fba473c2 | 161747aed56bfc7fbd17b87c60c25291ef12a579 | /data_exploration.R | aa9347d28e4bfac5394c7b10a43d5a55df749216 | [] | no_license | juschu321/CRAN_meta | 62f3dc210eecd1684c2cb4d11531ff0bdcfca65f | 333375a95cd6606e16fc06b0c03b78516fc090ed | refs/heads/master | 2020-06-02T22:43:02.452187 | 2019-07-16T15:40:55 | 2019-07-16T15:40:55 | 191,332,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,962 | r | data_exploration.R | library(readr)
install.packages("tidyr")
library(tidyr)
library(cranlogs)
library(dplyr)
library(ggplot2)
read.csv("mydata.csv")
#Datum formatieren
my_data <- read_csv("mydata.csv", col_types = cols(date = col_date(format = "%Y-%m-%d")))
View(my_data)
#check the data structure
str(my_data)
#my_data zu data_frame um... |
456f2ae408cf618e95968a270e645861dc33afe0 | 235bac0fcef5acd7a8d2fc1e95cec355efeaa4aa | /REGRESSION/regresion_boosting_fun.R | e051844d752905c85c77fb253cef4bac50bf6d20 | [] | no_license | haachicanoy/RAW_REGRESSION_MODELS_BIGDATA | 4a139c1346b75f7b1e1f04bfa58e37ef024af266 | 13457bab7aa6e0e2020e872ebe2695102a19bb0e | refs/heads/master | 2020-12-11T03:26:06.298543 | 2016-11-04T00:34:02 | 2016-11-04T00:34:02 | 47,995,776 | 2 | 0 | null | 2015-12-14T19:14:23 | 2015-12-14T19:14:22 | null | UTF-8 | R | false | false | 9,602 | r | regresion_boosting_fun.R | ## All subsequent models are then run in parallel
boostingFun <- function(variety,dirLocation=paste0(getwd(),"/"),barplot=FALSE,
col.grap="lightskyblue",nb.it = 100,saveWS=F,wid=500,
hei=800,ab=7,iz=4.1,ar=4.1,de=2.1,ncores=21,sztxty=15,
sztxtx=15... |
566c92db4b8e45e8c7177e07b0b93c48562f73db | d157188fced5eb338f3c5adc4007e29ddf7c299d | /R/factorAxis.R | f89082b218e78c5325a770375ac1f78990a1e4b8 | [] | no_license | oldi/visreg | cefe7e80f57f1181da163d99af848eb0c48d8f4b | 418731d8b735cd4e5e6d226725c8cc5c45e3700d | refs/heads/master | 2021-01-23T16:41:25.967320 | 2015-04-21T21:34:34 | 2015-04-21T21:34:34 | 43,887,431 | 1 | 0 | null | 2015-10-08T12:40:23 | 2015-10-08T12:40:23 | null | UTF-8 | R | false | false | 393 | r | factorAxis.R | factorAxis <- function(xx, w, nn) {
l <- levels(xx)
K <- length(levels(xx))
len <- K*(1-w)+(K-1)*w
m <- ((0:(K-1))/len+(1-w)/(2*len))
ind <- numeric(nn)
for(k in 1:K) {
i1 <- ceiling(nn*(k-1)/len)
i2 <- ceiling(nn*((k-1)/len + (1-w)/len))
i3 <- ceiling(nn*k/len)
ind[i1:i2] <- k
if (k!=K)... |
b5293ed1541613f957f26f3dc410dc87004a6144 | d5d69987f91a8ce7e67f3a0d21c13eb6a7c14e3b | /AccGenSVM/AccGenSVM/scripts/notransfer.R | e89f1300ad8fd45df40be68b2b0b2f28109e2399 | [] | no_license | dianabenavidesp/PhDProject | 73c4ada14f3050cd043b4d98054f7c8bbace634d | 086d460aaba591381bf0d97a748148958d6bb5d3 | refs/heads/master | 2022-09-27T01:30:30.795291 | 2020-05-07T06:48:25 | 2020-05-07T06:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,053 | r | notransfer.R | existsFilePredict<-function(wd, dataRep, percentData, positive, negative)
{
if(file.exists(paste(wd,"/positives/",positive,"/",percentData*100,"percent/data/data",dataRep,"/sampletest",positive,"_",negative,".csv.scale",sep=""))
&& file.size(paste(wd,"/positives/",positive,"/",percentData*100,"percent/data/data... |
b44341a19db7c95d309e3acaa90f596b501b4177 | ad921a92fe29537d7cbf7045ddeff28b98a5ddfd | /Algorithms/Bisection Method.R | c4256aad67183334535ac79ad98ea845e225ea47 | [
"MIT"
] | permissive | nusretipek/NumericalAnalysisR | c321a3dcaeb6f613667fa0f924461e8874f59719 | ac1b2a05fc7ecb69579fa496e8afca4589879b07 | refs/heads/master | 2023-02-06T11:20:35.528258 | 2020-12-29T21:11:25 | 2020-12-29T21:11:25 | 325,373,061 | 3 | 0 | null | 2020-12-29T20:32:19 | 2020-12-29T19:44:06 | R | UTF-8 | R | false | false | 1,435 | r | Bisection Method.R | ##################################################################################
# Edit Following Function/Parameters
##################################################################################
rm(list = ls())
#Options
options(scipen = 999)
options(digits =10)
#Function
f1 <- quote(x^3 - 2*x^... |
82884a33004c5181cf52c3f6b544d30b5516cd31 | 2b8569d206b99a3c3b48b8ed7c70d48aabc1a821 | /man/get_filestream_path.Rd | c8e7186674721cdd2659dc8dba0cd2ed5a209ae0 | [
"MIT"
] | permissive | emlab-ucsb/startR | 29190d9f24a05e6c6316e1f0e88b3d6cf1149111 | 49d5c9acd531320671d7ae411231fa0cfc15c557 | refs/heads/master | 2023-08-11T23:09:22.035471 | 2021-10-08T18:07:22 | 2021-10-08T18:07:22 | 141,326,123 | 1 | 1 | MIT | 2021-10-08T18:07:16 | 2018-07-17T18:07:28 | R | UTF-8 | R | false | true | 397 | rd | get_filestream_path.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_filestream_path.R
\name{get_filestream_path}
\alias{get_filestream_path}
\title{Get Filestream path}
\usage{
get_filestream_path()
}
\value{
The OS-specific mounting of FIleStream
}
\description{
Identifies the operative system in which w... |
5c03539f993d0a6a455d131958e748822c157678 | 451bc23c13bf5e4ea6894c5c388122396cb2266f | /15-Lessons/1-Recommended/Activities/07-Ins_Tidyverse/Solved/Tidyverse.R | bf14f548917a326c328afd2ac792ae0ed4353e6d | [] | no_license | junepwk/UCF-VIRT-DATA-PT-04-2021-U-B | 92f54f5a13a9b48eec6e8ceca978bfa563ca6c39 | 30494d208a4af0ad6259056ffbf1c5f0009eb404 | refs/heads/main | 2023-07-17T23:21:33.939288 | 2021-09-02T00:55:08 | 2021-09-02T00:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,083 | r | Tidyverse.R | # Import Tidyverse
library(tidyverse)
# Use the pipe operator with mutate to create a new calcualted field
zillow_oc_2017 <- zillow_oc_2017 %>% mutate(acres=lotsizesquarefeet/43560)
# Use the pipe operator with group_by to summarize and return the count of records by category
grouped_by_zip <- zillow_oc_2017 %>% gro... |
8d1ef6316abff0b5118e8c2d94984d076b9534bf | ce8d13de6aa47617809c5fc4d83ccd961b310104 | /man/lgbm.cv.prep.Rd | 9efcea56f74e9fb661f24d394259d0dc1f8e3c16 | [] | no_license | BruceZhaoR/Laurae | 2c701c1ac4812406f09b50e1d80dd33a3ff35327 | 460ae3ad637f53fbde6d87b7b9b04ac05719a169 | refs/heads/master | 2021-01-22T12:24:50.084103 | 2017-03-24T19:35:47 | 2017-03-24T19:35:47 | 92,722,642 | 0 | 1 | null | 2017-05-29T08:51:26 | 2017-05-29T08:51:26 | null | UTF-8 | R | false | true | 6,219 | rd | lgbm.cv.prep.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lgbm.cv.prep.R
\name{lgbm.cv.prep}
\alias{lgbm.cv.prep}
\title{LightGBM Cross-Validated Model Preparation}
\usage{
lgbm.cv.prep(y_train, x_train, x_test = NA, SVMLight = is(x_train,
"dgCMatrix"), data_has_label = FALSE, NA_value = "nan",
... |
197e90d33c947cfbca92ec5dca21fdaf181be541 | cf2e6e452e1885e870c7ab2e1565d22b0cc31841 | /AnalysisScript.R | 9b6ac1c64da210b8a35b1b569dd70da4d894f564 | [] | no_license | linleyj/KateLindyMaryamTestRepo | 3165be0d20feaa1eeb333602ffbe4ea2bf7a00bf | 81ea89726db26f93b7594f9b1cef72bdfdfae543 | refs/heads/master | 2021-04-15T08:23:09.906358 | 2018-03-22T23:17:03 | 2018-03-22T23:17:03 | 126,405,946 | 0 | 0 | null | 2018-03-22T23:17:20 | 2018-03-22T23:17:20 | null | UTF-8 | R | false | false | 48 | r | AnalysisScript.R | library(tidyverse)
library(lme4)
library(plotly) |
00a0fc9de3222de4c1c4974d1fde341cf4d26b37 | 6e61323dca4762a0d858c601f46a67029d016c8a | /R/VaRES_evt.R | 0e9c8b1716562995663f03605069ca877b068a20 | [] | no_license | lnsongxf/MidasVaREs | c9b562595e6ad64d30a560d2fca2981a04ec007d | a9541a601ab69f9dca29dbfaed6c86f36501e71a | refs/heads/master | 2020-12-03T18:17:57.643118 | 2019-01-29T13:31:27 | 2019-01-29T13:31:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,570 | r | VaRES_evt.R | #--------------------------------
# MAIN FUNCTIONS: Estimate MIDAS quantile regression
#--------------------------------
#' @importFrom fExtremes gpdFit
#' @export VarEs_evt
VarEs_evt <- function(y,yDate,x = NULL, xDate = NULL, q = 0.01,qThreshold = 0.075,multiSol = TRUE,Params = NULL,
horizon = 1... |
5c281f71e3b15e94c0cefda06e67634895c7479f | 4d07eecae0429dc15066b34fbe512b8ff2ae53ea | /mds/intexp/smoothKDE.R | f3f8ec546479050c31795ac97f53d2e4ed2226c0 | [] | no_license | distanceModling/phd-smoothing | 7ff8ba7bace1a7d1fa9e2fcbd4096b82a126c53c | 80305f504865ce6afbc817fff83382678864b11d | refs/heads/master | 2020-12-01T09:31:24.448615 | 2012-03-27T18:35:45 | 2012-03-27T18:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,447 | r | smoothKDE.R | # thin plate spline with squash
# taken from smooth.r in mgcv
# 2D version! KDE hack
## The constructor for a tprs basis object with MDS modifications.
smooth.construct.mdstp.smooth.spec<-function(object,data,knots){
library(ks)
if(length(names(data))!=2){
cat("mdstp can only be used with 2D smooths!\n")
... |
4b376db3a52de96ddc1a977462832a77472b6bad | 941bcfc6469da42eec98fd10ad1f3da4236ec697 | /tests/testthat/test-track_distance.R | 4fdaa87267cd2c63b80ae3aa155f7ea47eb05be6 | [] | no_license | cran/traipse | 29c3fd65e98f65049da98b1d878512bfdd93940f | 01635fd40512f2144e1ce712e0f5912143214e49 | refs/heads/master | 2022-10-22T02:59:19.828085 | 2022-10-10T06:40:02 | 2022-10-10T06:40:02 | 236,953,410 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | test-track_distance.R | test_that("distance works", {
expect_equivalent(round(track_distance(c(0, 0, 1, 0), c(0, 1, 1, 0)), digits = 2L),
c(NA, 110574.39, 111302.65, 156899.57))
})
|
8a1139a087db22adbafe9768e43a646c9bf76821 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SYNCSA/examples/belonging.Rd.R | b4c80673f245b8eeafc49f807789a575008cccf0 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 178 | r | belonging.Rd.R | library(SYNCSA)
### Name: belonging
### Title: Degree of belonging of species
### Aliases: belonging
### Keywords: SYNCSA
### ** Examples
data(ADRS)
belonging(ADRS$phylo)
|
e9196de6707a16e8d5345c3a44ca74832d96ad3c | 256f220648296026714d24947d25be71c9d5cf09 | /spikein_free_algorithm_benchmark.R | d8bbcfe93d96626d6aee53ac9d9227c89650330e | [] | no_license | Xiaojieqiu/Census_BEAM | f07f9d37f20646469a14f9e88d459b1b6046d662 | b84a377f5890bc7829dc1565c4c4d2dc2c824f83 | refs/heads/master | 2021-03-22T05:03:42.708956 | 2015-11-14T20:12:17 | 2015-11-14T20:12:17 | 45,900,189 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,726 | r | spikein_free_algorithm_benchmark.R | load('prepare_lung_data.RData')
library(monocle)
library(xacHelper)
load_all_libraries()
############################make the landscape heatmap:
mc_select <- coef(rlm(unlist(lapply(molModels_select, function(x) coef(x)[1])) ~ unlist(lapply(molModels_select, function(x) coef(x)[2]))))
optim_mc_func_fix_c_test_... |
bcfc998dcbc734f3771ca951ad2d649aab13c4ee | 01b17881e85527fcb28e00d134ab758e8c93076b | /cachematrix.R | 3c2e794c42a276a82f6718b55fb2af6110b3f6a1 | [] | no_license | elibus/ProgrammingAssignment2 | 6d4136f78d994859edcf16b4d325106a9d3221b5 | 51788a4dda2fc400b5e8919ff26fb2b43ccb1ab3 | refs/heads/master | 2021-01-22T12:36:41.814182 | 2015-06-19T11:24:23 | 2015-06-19T11:24:23 | 37,713,890 | 0 | 0 | null | 2015-06-19T09:37:23 | 2015-06-19T09:37:23 | null | UTF-8 | R | false | false | 655 | r | cachematrix.R | ## Compute matrix inversion w/ cache
## Wraps a matrix object to add caching functionalities
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
get <- function()
x
setInv <- function(m)
inv <<- m
getInv <- function()
inv
list(
get = get,
setInv = setInv,
getInv = get... |
97c4ad35bfc4e7ded0b96a54cd88cbe2b031ad44 | 8977a8c56a27e68d3436b5b0ef96016ce1b7b9de | /Salaries.R | 647941694ffa1be663ef9c7243e5bd5e2ca6a96a | [] | no_license | jcval94/Random_Projects | 9d680592fa7eaecb1fb0ea5df84ffd4c259a98fe | ee940a029010580e6089a4463b0b5b72aeb66423 | refs/heads/master | 2020-12-14T04:50:32.844979 | 2020-05-05T03:54:46 | 2020-05-05T03:54:46 | 234,645,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,513 | r | Salaries.R | #https://www.youtube.com/watch?v=nx5yhXAQLxw&t=2224s
library(ggplot2)
library(tidyverse)
major_DB<-read.csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2018/2018-10-16/recent-grads.csv")
major_DB %>% names()
major_DB %>% head()
#Graficaremos los salarios por carera
major_DB %>% filter... |
670ad2643fb943b90c224e6305fe243c5ec054fa | 9ed38aa06528612925ed9aeca637b03c33ad317b | /R/oldies/struc_enet.R | f69045f6bb1688eeedd1eb9d07e4e1e5c37401f1 | [] | no_license | cambroise/sparsity-quadratic-penalties | 13d72800888b2fa5fd79052aca913d61eb7e4134 | 8352de4534147c3c66a69f5ca02f484f52bb72e1 | refs/heads/master | 2021-05-08T23:26:31.066736 | 2018-04-30T13:29:48 | 2018-04-30T13:29:48 | 119,706,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 832 | r | struc_enet.R | rm(list=ls())
gc()
library(elasticnet)
library(R.utils)
sourceDirectory("functions")
seed <- sample(1:10000,1)
set.seed(seed)
p <- 100
n <- 200
beta <- rep(c(0,2,0,-2),each=5)
beta <- rep(beta,p%/%20)
data <- example_c_enet(n, beta, cor=0.25)
x <- data$x
y <- data$y
D <- matrix(0,p,p)
for (k in 1:20) {
D[((k-1)*5... |
59c9a7563f663fd1f1340249abd4a1a85419f99a | 7259c1a7c14c87c073b1896eb4830b901e994a8d | /R/cohort_table_day.R | ad2ea8244ee781da879c15a9113ef6ce1171b800 | [
"MIT"
] | permissive | romainfrancois/cohorts | 236281bdd899175609045b7da06119319dd296df | a8e7a0009b4cf132142105a29aeddb81b5dbd008 | refs/heads/main | 2023-06-15T19:32:17.100022 | 2021-07-11T21:13:00 | 2021-07-11T21:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 833 | r | cohort_table_day.R | #' Create a Cohort Table Using Day Level Event Data
#'
#' Creates a cohort table with day level event data with rows corresponding to cohort numbers and columns as dates.
#' @param df Dataframe
#' @param id_var ID variable
#' @param date Date
#'
#' @return Cohort table
#'
#' @export
#' @examples
#' cohort_table_day(gam... |
a9da73d077f3bfa6353545aad448e4a2d0217847 | 1e2be94889b961e08558884f36f7c6fa3a1a1567 | /plot6.R | 5532316ba0040a6a75d73588e0bb352a1c4f148e | [] | no_license | enwude/exdata_data_NEI_data | 15ad81a05a8d061f1660fc757a0206faf49380c0 | 873dcd5fd5121ce6b36bad40723c5d050ed7d348 | refs/heads/master | 2021-01-10T00:53:49.625794 | 2015-08-23T01:21:07 | 2015-08-23T01:21:07 | 41,127,399 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,991 | r | plot6.R | library(ggplot2)
library(dplyr)
# Create working directory if necessary
if(!file.exists("~/Data/")){
dir.create("~/Data/")
}
# Determine if dataset has been loaded to global environment
if(!exists("NEI", envir = globalenv()) | !exists("SCC", envir = globalenv())){
# Download and unzip the data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.