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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4dc85041b994045d4827f545a4c2277b1e5f37d6 | 594471d77b19ca6686054eedb90d90b0680d3e4c | /man/sample.id_s.sc.Rd | f7777d0becb6460923366e5b2296f0fa35ed136f | [] | no_license | NCKU-Bioinformatic-Club/deconvSeq | 076a79a91c132e00712288a3027bf018afd8763e | dc7dfdc0ae9668b6780d8be9b1f54589107dd8e7 | refs/heads/master | 2022-12-04T18:41:59.174971 | 2020-08-17T21:15:17 | 2020-08-17T21:15:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 322 | rd | sample.id_s.sc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/withDoc.R
\docType{data}
\name{sample.id_s.sc}
\alias{sample.id_s.sc}
\title{sample IDs (scRNAseq)}
\format{
An object of class \code{character} of length 238.
}
\usage{
sample.id_s.sc
}
\description{
sample IDs (scRNAseq)
}
\keyword{datasets... |
c94da6a7b0e973d0d92a2852bf067e160d123967 | d8d149c243a5c8888679096d619d10a7c06b8127 | /R/bal.ms.psa.R | fccbe0651c197a1492229ce1c75f03b2054af802 | [] | no_license | cran/PSAgraphics | ed4997e10989cb08c3c0b8f042593d9cf442d995 | 33b1eed4d75374f05b171f5751c9fe5db00c6621 | refs/heads/master | 2023-04-13T19:25:56.884945 | 2023-03-21T11:30:02 | 2023-03-21T11:30:02 | 17,681,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,667 | r | bal.ms.psa.R | #' Balance for Continuous Covariate: Random Strata as part of a PSA
#'
#' Function provides a measure (based on the trimmed mean) of the balance
#' achieved between control and treatment groups for a continuous covariate
#' from user defined strata. This statistic is compared to the same measure for
#' randomly permute... |
ab2d07ecff37cbc06a8807f7077828e17c5968b7 | d5e3596f41df8aba3ee20a6fe10d0685f3ec7634 | /Clase 3/Clase3.R | df4e2118c552cca0a9c6424dbe0b8c6d679e58b8 | [] | no_license | JesusCuellar00/MCF202 | 41da172105dd75b3356a6789e03f2d1ff8b03c34 | bf56ab7a12ca1bb77d171653a4f8f577f077348f | refs/heads/master | 2020-06-30T03:48:14.734513 | 2019-08-09T20:39:56 | 2019-08-09T20:39:56 | 200,714,563 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,609 | r | Clase3.R | # Jesús Cuéllar Loera
# 7/Agosto/2019
# Clase 3
Grupo<- gl(2,12, labels= c("Fotografia", "Araña"))
Ansiedad <- c(30, 35, 45, 40, 50, 35, 55, 25, 30, 45, 40, 50, 40, 35, 50, 55,
65, 55, 50, 35, 30, 50, 60, 39)
Datos<- data.frame(Grupo, Ansiedad)
head(Datos)
summary(Datos)
boxplot(Datos$Ansiedad ~ Datos$... |
afbba86c920f89b8d27b2638b158e71828ce09e8 | f2d3a834eb614c444e4c4d2f863577e804d9fb70 | /R/check_quality.R | 2e8b722434bcdc398a85e8bd57595c647bb7b1b9 | [] | no_license | David-Hervas/clickR | 150669cc67575659258e2bb44f429544e52e809c | cb738e505375376d91ac37eb01813ac3fb0e1432 | refs/heads/master | 2023-08-14T05:06:15.095067 | 2023-08-07T17:01:53 | 2023-08-07T17:01:53 | 90,495,146 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 10,432 | r | check_quality.R | #' Checks if each value might be numeric
#'
#' @description Checks if each value from a vector might be numeric
#' @param x A vector
#' @return A logical vector
may.numeric <- function(x) suppressWarnings(!is.na(numeros(x)))
#' Extreme values from a numeric vector
#'
#' @description Returns the nth lowest and highest ... |
6c0f574d6958b785df5b6485e8c9326fcc3a74b8 | 61754c7594c605059883710506bef4a2679992bc | /inst/src/tabs/analysis/svr_analysis.R | e86c0cc1d5265edc40c5d535d5fc047ae06b359e | [
"MIT"
] | permissive | genignored/dgeAnalysis | 5065eb4416fd3ba55b4c6cdff37c3ba33182ae5c | 8546d1d189adff4d4188b61d5fe8573edfdc6079 | refs/heads/master | 2023-01-21T23:41:45.867416 | 2020-11-30T21:13:35 | 2020-11-30T21:13:35 | 314,323,981 | 0 | 0 | MIT | 2020-11-30T20:58:18 | 2020-11-19T17:38:52 | null | UTF-8 | R | false | false | 5,639 | r | svr_analysis.R |
## Set deTab table
output[["detab_table"]] <- DT::renderDataTable({
tryCatch({
checkReload()
if (input$setdeTab == "all") {
DT::datatable(inUse_deTab, options = list(pageLength = 50, scrollX = TRUE))
} else {
DT::datatable(inUse_deTab[inUse_deTab$DE != 0,], options = list(pageLength = 50, scr... |
e009be5577e8f227b1201cc96c2735f033787ec6 | 918030d6c9437ae7c6abfae4b9bf29240eb7bec5 | /track2/presentation-src.R | 5c6d3a63d5a6e1d1a6a4c834be525b1e62abd968 | [] | no_license | USCbiostats/rbootcamp | ad32982d71f91df1770ec9c6c10e9379b4ec0e81 | c449e23c765ca049c494e42b46bcf8aafcfbae4c | refs/heads/master | 2023-08-26T13:03:46.746674 | 2023-08-11T15:00:45 | 2023-08-11T15:00:45 | 131,031,250 | 30 | 18 | null | 2020-08-11T06:59:33 | 2018-04-25T16:01:27 | HTML | UTF-8 | R | false | false | 3,003 | r | presentation-src.R | ## ------------------------------------------------------------------------
mymat <- matrix(1:9, ncol=3) # A matrix with numbers 1 through 9 with 3 columns
mymat
str(mymat)
## ---- collapse=TRUE------------------------------------------------------
mymat[1, 2] # The element in the (1, 2) location of the matrix
mymat[... |
ea81922db621829817fbae7b87ed7de2cd441225 | d675f6523862bdabdf2ae570b8c8f30628e352c3 | /man/ComputeAExp.Rd | 7bbc1d7d6c645e8c603236542b2f337108d60e59 | [
"MIT"
] | permissive | valcourgeau/ev-trawl | 70d9d58b31b28d6036bed283df5aac55ac460405 | 9fea733039ffcbb01f1ad3b53114953cc989b073 | refs/heads/master | 2020-03-26T11:31:08.768540 | 2019-05-01T11:38:21 | 2019-05-01T11:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 541 | rd | ComputeAExp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pairwise_latent_trawl.R
\name{ComputeAExp}
\alias{ComputeAExp}
\title{Wrapper to compute total area under exponential trawl function.}
\usage{
ComputeAExp(rho)
}
\arguments{
\item{rho}{Exponential trawl parameter (should be non-negative).}
}
... |
9eebe974fa4e0b82c3d34209916bbd806123fa4a | 15b7edbff872f46a3029c00061177d3e9898ae18 | /run_analysis.R | 3b5d2a6e29129e7840a037df2f22c79ca705637b | [] | no_license | Tau-Sigma/Getting_and_cleaning_data-CourseProject | dd6be97e63e954880a733b4323e551046aa591d2 | 00f63997b4344b2973f758b9a5d85c622fa06017 | refs/heads/master | 2021-01-19T00:44:24.160242 | 2015-07-25T17:26:13 | 2015-07-25T17:26:13 | 39,650,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,799 | r | run_analysis.R | #Global settings
library(plyr)
setwd("/home/sascha/Dokumente/Coursera/Getting and cleaning data/Course Project/UCI HAR Dataset") #set working directory
#Common data
activity_labels=read.table("./activity_labels.txt",header=FALSE,col.names = c("ID","ActivityLabel"),stringsAsFactors = FALSE) #load activity_labels.txt fi... |
c7bfd1990b3b65fcb4a746a8bd5a53dfb81ce719 | 403189a2a53554f008180dc8e0395daac7d6a9c1 | /individual_cutoff.R | 604e9cb03ecf3ffbefb3512972f22c2079fd575f | [] | no_license | PeerChristensen/RT_analysis_SA | 2edea510a27bbbdf0217e67d7d285d14636f2032 | 06dd1d9a56ddcf80f2eaad2c1f08fe3604a81264 | refs/heads/master | 2020-03-15T04:15:21.884706 | 2018-10-17T16:09:24 | 2018-10-17T16:09:24 | 131,961,016 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 723 | r | individual_cutoff.R | # HOW TO SUBSET DATA WITH INDIVIDUAL RT CUT-OFFS
####### LOAD PACKAGES AND DATA ###################################################
library(tidyverse)
library(lme4)
library(lmerTest)
library(viridis)
library(janitor)
library(Rmisc)
library(jtools)
library(effects)
library(sjPlot)
library(ggridges)
library(gridExtra)
l... |
75ab746a65513f8372632a5f4bafb20148affbc5 | 68ac24961548233e5bf09fca52d24e277c0d52bd | /man/lcsm_data.Rd | 3cb117fd45c5a1fb2764af00ddc8ce10f9d2f2c8 | [
"MIT"
] | permissive | milanwiedemann/lcsm | 437219c79431aa807ffd3f282c391875a228718d | 501d0d242fb54d3ee9b83736972a2dff8164fd65 | refs/heads/main | 2023-03-18T14:23:49.335544 | 2023-02-25T23:20:25 | 2023-02-25T23:20:25 | 146,106,026 | 20 | 3 | NOASSERTION | 2023-02-04T19:41:04 | 2018-08-25T15:18:39 | R | UTF-8 | R | false | true | 918 | rd | lcsm_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{lcsm_data}
\alias{lcsm_data}
\title{Longitudinal dataset with repeated measures of two constructs}
\format{
A longitudinal dataset in wide format:
\itemize{
\item{id}{: ID variable, unique identifier for each perso... |
d9eb59b42ba74f947afaf2fac351c78962e4309b | 979ca3b56b2f358bf2866d14b233103e90a0db20 | /run_analysis.R | 8d1576e8a8321c118b9b5877c44165a8c7f9774d | [] | no_license | tbel/getdata-012-prj | beb0cfc6d78de00b3e733c8cb94cfe9ca4a76074 | 9a7220ac279f119f9447e1fa3b409d978bd2099a | refs/heads/master | 2021-01-24T06:22:54.933473 | 2015-04-26T20:30:17 | 2015-04-26T20:30:17 | 32,673,265 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,143 | r | run_analysis.R | # Reading raw data
activity <- read.csv("dataset/activity_labels.txt", header=FALSE, col.names=c("aID", "activity"), sep=" ")
features <- read.csv("dataset/features.txt", header=FALSE, col.names=c("fID", "feature"), sep=" ")
s_train <- read.csv("dataset/train/subject_train.txt", header=FALSE, col.names=c("subject"))
s... |
785e9c75fb5b90696749f5fe856b143b51fc985a | c2c1c9e685d66b565df17498b4e14e83ceee89ab | /src/r-scripts/simulation-one.r | 316f5c36fea150013acd39be8d137c37d5690eea | [] | no_license | crsl4/GAMuT | 0fd298bf5f24921102644a97ee6e922a99e91fac | 15e74e20eb2192f9e7e5eb359ebc02297d202d9a | refs/heads/master | 2020-03-19T14:41:40.463971 | 2019-01-24T16:00:34 | 2019-01-24T16:00:34 | 136,635,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,939 | r | simulation-one.r | library(MASS)
library(corpcor)
##------------------------------------------------------------------------------
## Variables:
##------------------------------------------------------------------------------
## Past from Julia better
maf = 0.25
traitcor = "med"
nassoc = 1
npheno = 2
n_unrelated = 5000
n_variants ... |
f79dcac6d4b401d9219c032fe8f730f91e0d201b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rdimtools/examples/nonlinear_CRCA.Rd.R | 059f0b63d8456f6a4f9c04a99404b8eb104e4a7c | [] | 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 | 544 | r | nonlinear_CRCA.Rd.R | library(Rdimtools)
### Name: do.crca
### Title: Curvilinear Component Analysis
### Aliases: do.crca
### ** Examples
## Not run:
##D ## generate sample data
##D X <- aux.gensamples(n=200)
##D
##D ## different initial learning rates
##D out1 <- do.crca(X,alpha=1)
##D out2 <- do.crca(X,alpha=5)
##D out3 <- do.crca(X... |
a1e67b6ab8f7fd437de528d543a71bf6fa6edd48 | 952ede43b43ee71b3b48f700c26adc0b5ee3ba45 | /plot3.R | 2b1f725e23ae0442b938d74fc8f9d3e873017676 | [] | no_license | lisha7677/ExData_Plotting1 | b884a9f33434662d2b65367916475689cad4bcaf | f8092274cae970e8fa748b491024214772c51536 | refs/heads/master | 2020-06-29T18:40:51.355942 | 2016-11-22T04:04:40 | 2016-11-22T04:04:40 | 74,418,073 | 0 | 0 | null | 2016-11-22T00:25:30 | 2016-11-22T00:25:30 | null | UTF-8 | R | false | false | 1,189 | r | plot3.R | #load data.table package to use fast file reader function fread()
library(data.table)
#download and unzip file
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile = "exdata.zip")
unzip("exdata.zip")
#read 2075259 rows and 9 columns quickly, subset a dataf... |
5cf660f4f9c0e726975bde74615dce374c569a70 | 8a5829091098d120bf520b2345141ae64808694a | /man/list_tsvs.Rd | ec679e53d48442c129d64c8ad2cd3902a142b092 | [] | no_license | dennismalandro/remisc | 97e7bf175763bac29623cc4abbd2c0bc61f33ab8 | 65f21f82be01d7f6e901a8c6c4e78857253c6d30 | refs/heads/master | 2021-01-10T11:55:46.620324 | 2016-11-24T15:46:53 | 2016-11-24T15:46:53 | 44,412,174 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 638 | rd | list_tsvs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/remisc.R
\name{list_tsvs}
\alias{list_csvs}
\alias{list_tsvs}
\alias{list_txts}
\alias{list_vbrs}
\title{Read common file types}
\usage{
list_tsvs(path = ".", full.names = FALSE, recursive = FALSE)
list_csvs(path = ".", full.names = FALSE, r... |
7d0015ffc97b16c3acd6654369ba9a3eefcd323e | 6154f648b34e1dda486345298c34a60754b0e26d | /R slides/4_MVA/code for r-course.R | ab33a6c8edbb3778e13d3c1aa6b8da1012b43769 | [] | no_license | MichaelBelias/My-Complete-Book-In-R | c2715604283f0d0411eca431d03e22fe0374fbda | cb2968352557d2999d4319c9bede6718d4406543 | refs/heads/master | 2021-01-18T22:47:23.793744 | 2020-03-12T20:38:03 | 2020-03-12T20:38:03 | 87,069,215 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,269 | r | code for r-course.R | # mentioned in this tutorial
RatAUEB <- c("HDclassif", "corrgram", "cluster", "mclust","FactMixtAnalysis","nnet","class","tree")
# Install the packages
install.packages(RatAUEB, repos = "http://cran.rstudio.com/")
#packages installed
# we need now to call them
library(corrgram)
library(HDclassif)
library(cl... |
59aa9b8d9d41f0f287001bd9e6b4b2ebeef3b19b | b97454dda53628e218771a0324f7ab8e8de08d3a | /R/6_Export_to_DF.R | d0cc22267024fe5adc30b6aaf3a11b0d2561e77e | [] | no_license | camilodlt/ML_Gutenberg | 1e137bd4b87fbc5fac8d0657823e9f8eb93e3eec | 67e3bbc89aa3cd19871f9914fe4c6a61eaba60bb | refs/heads/main | 2023-07-04T17:03:51.682137 | 2021-08-23T10:41:39 | 2021-08-23T10:42:26 | 374,972,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,405 | r | 6_Export_to_DF.R | #################################################################
## Step 5: Create synthetic mistakes ##
#################################################################
######
PATHS <- c("data_working/5_ML_formatted_synthetic", "data_working/5_unbias_constant_synthetic","data_working/5_unb... |
6db4d1df220ff8c9d4b388c62a33697b2abac15c | fabd46df1d09027c5f61000cf89266ee4a68c447 | /plot3.R | bd395160288bb6d6d85e170f62f954d12e9c0471 | [] | no_license | hhulme/ExData_Plotting1 | 2315425bdc09847371602b4a9a9424a845902a5b | 0ac5154bb1149a9d1db27c628274cb8892b1617e | refs/heads/master | 2021-01-21T06:00:55.466722 | 2014-11-07T23:38:05 | 2014-11-07T23:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,158 | r | plot3.R |
temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp)
data <- read.table(unz(temp, "household_power_consumption.txt"), sep = ";",
header=TRUE, na.strings="?", stringsAsFactors = FALSE)
unlink(temp)
head(data)
head(data$Date... |
6d5c508d70e7b85409aaeab50b1adc77313b4e69 | 1f092c22a5746af10ce574af15002d53881c6ef7 | /man/getSetOfSchemes.Rd | 8a16a8b7a2b9f3de0c89fc32dffaf87300c99d26 | [] | no_license | cran/microsamplingDesign | 50ce4ca2e1439049c20733194c5962e0e3b696c8 | 49a02faf102dfc9abef4d34bbdd7041a251f64f8 | refs/heads/master | 2021-10-27T09:12:27.351890 | 2021-10-13T12:52:04 | 2021-10-13T12:52:04 | 131,901,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,935 | rd | getSetOfSchemes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/schemeGenerator.R
\name{getSetOfSchemes}
\alias{getSetOfSchemes}
\title{Generate a \code{\link{SetOfSchemes-class}} object of speficified dimensions ( subjects, observations per t) for a given
set of time points which meets user specified ... |
59fda72e1304d1ec0a2d75d9a70f1706925f3b76 | f9481740429df0426c353d017a207b16e20394b9 | /Statistics-With-R-Specialization/Capstone/week 5/week5quiz.R | e955d4ff024ab0388f077c3b217d637e9fe31283 | [] | no_license | ashutoshtiwari13/Statistical-Learning-Hub | 524accc79c131e1db0de74d5ef226d00aaa06e43 | 9c26772fbb843b26b240760cfa0a8412a6c847e4 | refs/heads/master | 2022-11-22T22:14:31.400391 | 2020-07-13T17:44:46 | 2020-07-13T17:44:46 | 255,832,052 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,533 | r | week5quiz.R | ##### QUESTION 1
## Suppose you are regressing log(price) on log(area), log(Lot.Area), Bedroom.AbvGr, Overall.Qual, and Land.Slope. Which of the following variables are included with stepwise variable selection using AIC but not BIC?
question1_full <- lm(log(price) ~ log(area) + log(Lot.Area) + Bedroom.AbvGr + Overal... |
a450954fda242ff6da475aa43fd631cadf406d12 | 3d9de2ab4797d89a64e37028bf3427eed3e2c866 | /aprox/nuts/modelos/temp.R | 8fb0a43ffeb79639cc00d9bf3cf5728262362851 | [] | no_license | anyosa/binreg | dfe2fdd8e504640cccd550ec329a972a132840ef | 7dfe63ae27777959b9ce206b26857c0733931b1e | refs/heads/master | 2021-05-11T06:16:40.975209 | 2018-08-05T23:08:14 | 2018-08-05T23:08:14 | 117,982,147 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,379 | r | temp.R | mod.stan = '
data {
int<lower=0> N; # number of observations
int<lower=0,upper=1> y[N]; # setting the dependent variable (vote) as binary
vector[N] x1; # independent variable 1
vector[N] x2; # independent variable 2
}
#transformed data {
#vector[N] age_... |
196bdeb978dcac483a1c485caa0c4c9682c8e893 | f0c6380692ce00322e2ef31c3b6ec2e2b4ca6d97 | /run_analysis.R | b3b3194aca612c2a44a7450e035ebfbb8091781d | [] | no_license | rou07812/Peer-graded-Assignment-Getting-and-Cleaning-Data-Course-Project | 64350b1fc6b60f8cd3803e44946ba71f89805559 | 0e25bf93491fe25c791df1a24166c5bf79f3cf39 | refs/heads/master | 2020-09-28T21:02:59.918385 | 2019-12-10T05:53:10 | 2019-12-10T05:53:10 | 226,864,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,860 | r | run_analysis.R | #load libraries
library(data.table)
library(dplyr)
setwd(".\\R\\data\\UCI HAR Dataset")
##Read supporting
featureNames <- read.table(".\\features.txt")
activityLabels <- read.table(".\\activity_labels.txt", header = FALSE)
#read Training and Test sets
subjTrain <- read.table(".\\train\\subject_train.txt", hea... |
da84da22d55490b3a627ac9f9a5e92d0e5240ca7 | 064fdebe446ace3596ed1af13c92f6ce613a3e66 | /man/Rmd_bind.Rd | 1175b3c9ef4c40566dafea9cec39f7640a0e58be | [] | no_license | curso-r/puBuild | 6dd704527d3731ac516d110e07e39b58f29bce74 | 2a998876a1b393b5c5339e0b0db38ef91bf0d310 | refs/heads/master | 2021-01-11T23:24:58.011253 | 2017-10-10T02:46:47 | 2017-10-10T02:46:47 | 78,579,218 | 0 | 1 | null | 2017-01-12T13:57:12 | 2017-01-10T22:13:03 | R | UTF-8 | R | false | true | 333 | rd | Rmd_bind.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/render_pu.R
\name{Rmd_bind}
\alias{Rmd_bind}
\title{Concatena Capítulos De Um Power Up}
\usage{
Rmd_bind(dir = ".", titulo, output_file = NULL, output_dir = NULL)
}
\description{
Concatena os capítulos de um power up em um único arquivo index... |
170fc1047c50cd3d9cc067fc37793a94a3c8c547 | ebbe711114abaed7a4c7e97c4bfb78b630d45364 | /man/incomplete.Rd | 696c1d78c221a8fefca98defc6b3a0a7c59ffa6e | [] | no_license | cran/imputeMDR | 79a9a94f4d742acd9ecf3522f08b4ab520e9bbd8 | d8bac5d21cb1c822166142d0171e8e0fe0360f22 | refs/heads/master | 2020-05-26T09:04:52.034454 | 2011-06-28T00:00:00 | 2011-06-28T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,280 | rd | incomplete.Rd | \name{incomplete}
\alias{incomplete}
\docType{data}
\title{A simulated example data containing missing values}
\description{
This data is an example of a simulated case-control study data with 10% missing genotype values.
10 biallelic marker genotypes (ex : single nucleotide polymorphisms; SNPs) for 200 cases a... |
ecb53c54479b9fc1abf99e80fe7a8bc232e24798 | 4c3c7bedd64dae0d8726739393f38d6863b32d8f | /R/INSPEcT-GUI-functions.R | 5c19c7d992f26333bcf40180b9b3ebff5856b1dd | [] | no_license | ste-depo/INSPEcT | 11425638964219b0b619cc75b13f17dc1e4682e6 | e56818c3166c95809c1b05ead6b36b7395559932 | refs/heads/master | 2022-12-20T01:06:23.322215 | 2020-09-29T15:22:08 | 2020-09-29T15:22:08 | 113,035,680 | 5 | 2 | null | 2020-08-09T08:13:42 | 2017-12-04T11:45:43 | R | UTF-8 | R | false | false | 67,572 | r | INSPEcT-GUI-functions.R | #function for the indicator "Loading...". This function was taken from
#xiaodaigh and dcurrier (https://github.com/AnalytixWare/ShinySky/blob/master/R/busy-indicator.r)
#and corrected. Maybe the real time is inside setInterval function
.busyIndicator <- function(text = "Processing..."
, image = "http://i.... |
bb3ae46cc07237d72f63f75bfd3b9026dfd21354 | 85ee7e5ce48cf3884c5601e554266fac112de14b | /man/spearman_brown.Rd | 7ef047779f11fd6c7ac73aa55a99633158a2f253 | [] | no_license | cran/splithalfr | 274b4b813ea28666b2a7a491e8e6b725aba79d9f | 02c387bf8fc2dcc4cc429764a47d3cf7c5dd85e8 | refs/heads/master | 2021-10-09T13:41:49.940719 | 2021-09-29T03:30:01 | 2021-09-29T03:30:01 | 236,901,406 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,351 | rd | spearman_brown.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coefficients.R
\name{spearman_brown}
\alias{spearman_brown}
\title{Calculate Spearman-brown coefficient}
\usage{
spearman_brown(x, y, fn_cor = cor, ...)
}
\arguments{
\item{x}{(vector) a numeric vector}
\item{y}{(vector) a numeric vector wit... |
38513a38639af4911a947f9674e0bea5357738a8 | 1204edc5a9b264e2efd282aba9fc7a72dc0f1c5a | /server.R | 43f27cbf8e9c55ae8c5f9f9c7bd9ddce7b525118 | [] | no_license | gpagliuca/surge_calculator | fc15b3e426594c3a39a7e80e0c250ae7d2d3569f | 206b205c8d20f2d75add60b9cfdd72348701d98d | refs/heads/master | 2021-05-03T11:59:22.782705 | 2018-02-06T17:03:01 | 2018-02-06T17:03:01 | 120,491,500 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,625 | r | server.R | library(shiny)
library(ggplot2)
library(dplyr)
library(grid)
shinyServer(function(input, output) {
output$plot <- renderPlot({
# Input from the ui
inFile <- input$datafile
if (is.null(inFile))
return(NULL)
data <- read.csv(inFile$datapath, header = TRUE,
... |
f187fa1c278f5fbf288f5de9a7bc8dc4bd26e062 | 67de61805dd839979d8226e17d1316c821f9b1b4 | /inst/models/nightly/ifa-ms.R | 87393613a3811f1445240afa4c9a1a3623c174ca | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 7,026 | r | ifa-ms.R | library(OpenMx)
library(rpf)
set.seed(1)
m2.data <- suppressWarnings(try(read.table("models/nightly/data/ms-data.csv"), silent=TRUE))
if (is(m2.data, "try-error")) m2.data <- read.table("data/ms-data.csv")
m2.data[m2.data==-9] <- NA
m2.data <- m2.data + 1
gpcm <- function(outcomes) {
rpf.nrm(outcomes, T.c=lower.tri... |
56f6776e99f0054e6d5e1ec3f5cdab4c68d58348 | 3ea8066910a8b32d9a4b3204e720a45f06405efb | /man/predict.HDPMcdensity.Rd | d0b82ba224b10245d7df85ec86136a6ff83c6643 | [] | no_license | cran/DPpackage | ae76a06a3f35dc88d1f18476e2470473a67e2277 | 33af05b258c49ae4826655dd196d0ecbf5a008b1 | refs/heads/master | 2020-05-16T23:58:39.158728 | 2018-01-06T07:39:08 | 2018-01-06T07:39:08 | 17,678,687 | 3 | 7 | null | null | null | null | UTF-8 | R | false | false | 3,796 | rd | predict.HDPMcdensity.Rd | \name{predict.HDPMcdensity}
\alias{predict.HDPMcdensity}
\title{Predictive Information for the Dependent Random Probability Measures.}
\description{
Plot the probability measures arising from a HDPM of normals model
for conditional density estimation.
Support provided by the NIH/NCI R01CA75981 grant.
}
... |
0bb0ac6868c6b9a4a4acadecd7d56ba859c43826 | 679e1c340bff1f310c25cc689bcf481ff592f680 | /man/add_intervals.Rd | 4b3f9bb71e7668b7fb2bdc6eeea3aada74ca11da | [] | no_license | deruncie/PLS205_package | cc47b19dc8961575dbc11784b7ea6c731b5b120e | 6bbc73ccbcf5b73a67a6b6da858c78bd235f1083 | refs/heads/master | 2022-03-04T20:03:12.922151 | 2022-02-22T21:31:55 | 2022-02-22T21:31:55 | 75,047,152 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 779 | rd | add_intervals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/add_intervals.R
\name{add_intervals}
\alias{add_intervals}
\title{Add a model predictions and SE band to a data.frame}
\usage{
add_intervals(data, fitted_model, SEs = 2)
}
\arguments{
\item{data}{A data.frame object with all terms used in the... |
69233dd74479febb891bba462c4c6de93af33e7f | 37c0a409c4f06dfac2365fb792a953f59758f245 | /man/GetFixedParams.Rd | 2ce081d5c50edd4da328927cf4001c67712ecf72 | [
"MIT"
] | permissive | cmlegault/ASAPplots | 8a3aee8a79137dd8911305397430965aa18ae683 | 75adfd7cf889a5a2b66b6ef0a4dbe22b51aa2084 | refs/heads/master | 2021-07-13T00:48:41.370521 | 2021-03-22T21:02:40 | 2021-03-22T21:02:40 | 87,811,600 | 3 | 4 | MIT | 2021-03-19T14:02:42 | 2017-04-10T13:04:09 | R | UTF-8 | R | false | true | 383 | rd | GetFixedParams.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_fixed_params.R
\name{GetFixedParams}
\alias{GetFixedParams}
\title{GetFixedParams}
\usage{
GetFixedParams(asap.dat)
}
\arguments{
\item{asap}{asap dat object from ReadASAP3DatFile}
}
\description{
Returns data frame of paramet... |
936463dd3ba506f14363f6eb149d63ffcdbfd911 | 9ec885208283c21c0fe6d714ef89534158a00237 | /man/tryTryTry.Rd | 51699b6e7d8f3434741198b12cb9c8b4ec520fb1 | [
"MIT"
] | permissive | bi-sdal/sdalr | 21bcbf3f637bad697022852262d7c3d00a5bab87 | 8fb2c78c1b4e326dfde955570313dbfe2ad3a3bc | refs/heads/master | 2021-01-20T01:22:34.308419 | 2018-07-16T18:52:27 | 2018-07-16T18:52:27 | 89,265,260 | 0 | 1 | null | 2017-11-13T17:28:32 | 2017-04-24T16:53:50 | R | UTF-8 | R | false | true | 364 | rd | tryTryTry.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trytrytry.R
\name{tryTryTry}
\alias{tryTryTry}
\title{Try an expression n times before quitting}
\usage{
tryTryTry(x, n = 3L)
}
\arguments{
\item{x}{The expression to try.}
\item{n}{The number of times to try. Default is 3.}
}
\description{
... |
7abb02b3ca1fb3cbba47783818b4d5ec744b2294 | 082ae6acef6cfafb85ccc8c98c67c670ffd934ee | /man/ragtag_html.Rd | 35896b5c88dbf977fed1637abf49e5f17093500c | [
"MIT"
] | permissive | AnirudhHimself/ragtag | 9825b3905e79a14e0b08f1f6051c4f38923dd86f | 6b0eda50ad886860e0bd653f8c516a7d53e101a7 | refs/heads/master | 2023-02-05T20:48:25.921055 | 2020-12-25T21:36:54 | 2020-12-25T21:36:54 | 267,073,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 718 | rd | ragtag_html.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/htmlrmd.R
\name{ragtag_html}
\alias{ragtag_html}
\title{Personal Rmd Temlate. It only converts to HTML right now.}
\usage{
ragtag_html(number_sections = FALSE, ...)
}
\arguments{
\item{number_sections}{Should sections be numbered?}
\item{...... |
4f136005220d0c7d852582c2eea278f754737388 | ac968965c2093c38542eb0db597df82b971dd3f3 | /Tidyverse Webinar/umn_rmcc_tidy2020_part1_morning_lesson/tidy2020_part1_morning_lesson_starter.R | b0f48ebf93be8222e7d9c030405382cb65e02e21 | [] | no_license | nf-exphys/UMN-classes | 6a4e0aa2790ff32cfa8eb03850d1170fe33b252a | 379fb7c623eacf921a9db3b74278a30179945187 | refs/heads/master | 2023-03-29T22:29:52.617463 | 2021-04-18T17:09:55 | 2021-04-18T17:09:55 | 348,120,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,772 | r | tidy2020_part1_morning_lesson_starter.R | ########################################################
# Into the Mud: Data Wrangling with R and the Tidyverse
# Jeffrey K. Bye, Ph.D. & Ethan C. Brown, Ph.D.
# Friday, December 11, 2020; 8:30 am–12:30 pm
########################################################
# 09:00 - 09:30 Morning Zoom synchronous -- 30 m... |
6a825fb641e6d14443a129f376430c109a102235 | dc7549847fa8fe32a2d3e0d181ed2fd2c4030144 | /man/extractTS.Rd | 3aadb520a4f93d55f2f740aeb8c2896f335b11bb | [] | no_license | RRemelgado/CAWaR | 5e312fa7ad6f72ae21c1f9e55cc0f53e1426b2ad | 7536d06ce5073b9b686263871135add46adca8b1 | refs/heads/master | 2021-07-14T19:58:47.962666 | 2020-06-04T11:18:34 | 2020-06-04T11:18:34 | 141,430,724 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,288 | rd | extractTS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extractTS.R
\name{extractTS}
\alias{extractTS}
\title{extractTS}
\usage{
extractTS(x, y, z, id)
}
\arguments{
\item{x}{Object of class \emph{SpatialPolygons}, \emph{SpatialPolygonsDataFrame}, \emph{SpatialPoints} or \emph{SpatialPointsDataFra... |
b9e95fe794c04f147552c2e2912726ee089833ab | 1d80ea56e9759f87ef9819ed92a76526691a5c3b | /R/utils_ci.R | 799e8667fd607ca32112eece8288254fc5fc0704 | [] | no_license | cran/effectsize | 5ab4be6e6b9c7f56d74667e52162c2ca65976516 | e8baef181cc221dae96f60b638ed49d116384041 | refs/heads/master | 2023-08-16T21:23:58.750452 | 2023-08-09T18:40:02 | 2023-08-09T19:30:51 | 236,590,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,217 | r | utils_ci.R | # NCP -------------------------
#' @keywords internal
.get_ncp_F <- function(f, df, df_error, conf.level = 0.9) {
if (!is.finite(f) || !is.finite(df) || !is.finite(df_error)) {
return(c(NA, NA))
}
alpha <- 1 - conf.level
probs <- c(alpha / 2, 1 - alpha / 2)
lambda <- f * df
ncp <- suppres... |
d3991ce51a1e18b515c9c3cd27ef5c2b79fb1b56 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/handlr/examples/HandlrClient.Rd.R | 09a17c7abd92cf6f22adbc7ca2cbc7efead80ebf | [] | 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 | 2,636 | r | HandlrClient.Rd.R | library(handlr)
### Name: HandlrClient
### Title: handlr client
### Aliases: HandlrClient
### Keywords: datasets
### ** Examples
# read() can be run with format specified or not
# if format not given, we attempt to guess the format and then read
z <- system.file('extdata/citeproc.json', package = "handlr")
(x <- Ha... |
89dd6608c00aa2ccab8f3ed3681f3c398f7c1225 | ce8cebb9873ded8f0f6b8c1366551fe810f9071c | /server.R | f3cfe93019a16c4bcecf10c0d124f9a4532cc84c | [] | no_license | black-tea/lacity-centerline-locate | a374fd7e34f7562b63e1ac8544baa38eaf95087b | 71de3dd7b700cbf894bf5cf054755187f1125622 | refs/heads/master | 2020-03-27T09:43:33.294170 | 2018-08-30T00:15:54 | 2018-08-30T00:15:54 | 146,366,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,847 | r | server.R | #######################################
# Infrastructure Geocoder Server Code #
#######################################
library(shiny)
library(sf)
library(googlesheets)
#### Functions
# Function to create Icons for map
createIcon <- function(color) {
custom_icon <- awesomeIcons(
icon = 'circle-o',
iconC... |
c5d7a18d0decbcaad7fad6e69adba142d20990d0 | 5151abd43e2b8ea407ff19fb51531d9f50c31f87 | /miRNA_theory.R | fba6fb39ccea6f8a422cbd6baea11a2290ee4c42 | [] | no_license | amandazheutlin/NAPLS_RNA | 096b43e51f1d5573b2f16a7959dbc02ab20b9447 | c576bea8ed0619345c1917e5332949f5d8bc67d4 | refs/heads/master | 2021-01-01T18:27:22.021352 | 2017-08-07T20:06:54 | 2017-08-07T20:06:54 | 98,345,951 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,083 | r | miRNA_theory.R | # RNA-seq data from NAPLS - miRNAs
# correlations with gray matter longitudinal phenotype
# plasticity-related miRNA
#### housekeeping
workdir <- "/data/swe_gwas/ABZ/NAPLS/RNAseq/"
setwd(workdir)
# source("http://bioconductor.org/biocLite.R")
libs <- c("dplyr", "psych", "ggplot2", "CALF", "glmnet", "caret",
... |
49f2134ce14772ee6ddb5c78e568938a623d62ea | 1cd18bed03f132588465f8763be10c7fc33e9457 | /tests/testthat/test-format-u.R | 6dc38c2ad2e5d66a9c8f0315c55a3ec9d5581c49 | [] | no_license | jrnold/fivemat | 5c4931c4a25dfffce3826145b74b7a360a2999da | 98fbdf174e9e4ab3c4bc4e3c345dd429275db8bd | refs/heads/master | 2021-01-19T04:38:45.368705 | 2017-03-23T16:58:20 | 2017-03-23T16:58:20 | 84,902,811 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 638 | r | test-format-u.R | context("format u")
test_that("fmt_new(\"u\") unicode character", {
expect_equal(fmt_new("u")(0x2603), "\u2603")
expect_equal(fmt_new("020u")(0x2603), "0000000000000000000\u2603")
expect_equal(fmt_new(" ^20u")(0x2603), " \u2603 ")
expect_equal(fmt_new("$u")(0x2603), "$\u2603")
})
test_that("... |
8c482219b5c76864e35c103509a663e1d282f22e | 9550cea67bef21d3295d85c0a4681ce6b0e72b89 | /R/smartsizer.R | bbc22350b6fcebcf05c799c34af5cf586afd29c9 | [] | no_license | cran/smartsizer | 3ad1d3bc4856386480b981c3d220462dbd45471b | 985af5ca550027501741c3ae386ab2ae0f37a3f2 | refs/heads/master | 2021-06-16T11:23:55.933768 | 2021-01-06T01:10:02 | 2021-01-06T01:10:02 | 129,715,700 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | smartsizer.R | #' smartsizer: A package for Sizing SMART Designs
#'
#' The smartsizer package is designed to assist investigators with sizing sequential,
#' multiple assignment, randomized trial (SMART) for determination of the optimal
#' dynamic treatment regime (DTR). smartsizer includes functions which permit
#'calculation of... |
32583d313f200590b9712cc4e9e057b2b675d8b4 | 29585dff702209dd446c0ab52ceea046c58e384e | /fullfact/R/barMANA.R | a2406cb1932e5ccee6c8e1978c6055fff0c07918 | [] | 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 | 1,998 | r | barMANA.R | barMANA <-
function(ci_dat,type="perc",bar_len=0.1,ymax=NULL,ymin=NULL,yunit=NULL,leg="topright", #ci object
cex_ylab=1,cex_yaxis=1,cex_names=1) {
error.bar <- function(x, y, upper, lower=upper, length=bar_len,...){
if(length(x) != length(y) | length(y) !=length(lower) | length(lower) != length(upper))
... |
4f0831c6bb3059e74eef4617e8675f5501c1261f | a3011e4901d9cda7fa28b5c53079743273a34ab2 | /source/fns_technicalAnalysis.R | a582b03bf85dd2f567d19cc96656d31e56626e84 | [] | no_license | amit-agni/FiMATS | ee56427132989d2c0beacdf9be9225699a4c02b7 | 78d42982c7391f8fa9c80ab2ef2677202e8a4c44 | refs/heads/master | 2021-05-21T09:26:16.056174 | 2020-05-18T06:08:02 | 2020-05-18T06:08:02 | 252,637,321 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,348 | r | fns_technicalAnalysis.R | #UI and Server function definitions for the Technical Analysis page
############### Called from ui.R ################
fnUI_technicalAnalysis <- function(){
fluidPage(fluidRow(box(width = 12,solidHeader = T,background = "navy"
,column(width = 2,h3("Technical Analysis for :")... |
c4c69f7ec67cba0d8e1089637628a37ba54ecaa3 | 6526ee470658c2f1d6837f7dc86a81a0fbdcffd5 | /man/setVars.mwIPM.Rd | 63cd2bb269bca60d0f11595a245a4330a1326790 | [] | no_license | mdlama/milkweed | c7e8a24021a35eb6fbef13360400d2d4069b4649 | b791c8b39802f33471f8e827f369afa47c06d6af | refs/heads/master | 2023-09-06T03:00:45.554997 | 2022-09-14T15:25:58 | 2022-09-14T15:25:58 | 76,479,540 | 0 | 0 | null | 2021-09-21T19:04:44 | 2016-12-14T16:59:01 | R | UTF-8 | R | false | true | 317 | rd | setVars.mwIPM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mw_ipm.R
\name{setVars.mwIPM}
\alias{setVars.mwIPM}
\title{Sets model variables.}
\usage{
\method{setVars}{mwIPM}(obj)
}
\arguments{
\item{obj}{A mwIPM model object.}
}
\value{
A mwIPM model object.
}
\description{
Sets model variables.
}
|
aef2ccb9b2a34035c8735d96a2d381d61d709ea9 | 3eae9a446a3311ffbc68fe33992239ac47f0e76d | /R/predict.R | 42b390cba3d96e0d184149a389cea7c07cba1707 | [] | no_license | cran/AmpGram | 5389f3a0fc0b5709a415359446913c2baa17bd0d | 2163942d3f35ef061ed20ecb584c387056432c30 | refs/heads/master | 2022-09-11T06:39:45.428988 | 2020-05-31T09:10:03 | 2020-05-31T09:10:03 | 268,352,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,715 | r | predict.R | #' Predict antimicrobial peptides
#'
#' Recognizes antimicrobial peptides using the AmpGram algorithm.
#' @param object \code{ampgram_model} object.
#' @param newdata \code{list} of sequences (for example as given by
#' \code{\link[biogram]{read_fasta}} or \code{\link{read_txt}}).
#' @param ... further arguments passed... |
ec1819afd9f0a6628a1152fef1678a5735661285 | 02ce497b24e5aed144fd915257252ff62d0d44d2 | /cachematrix.R | ce87510c98f61900639506a9f40051ead509d029 | [] | no_license | meelik/ProgrammingAssignment2 | 0445842a414ef805c4604145bbb963a388645128 | 1fdb8dc3ef029ce7b08505c868d617dc1b32dc1c | refs/heads/master | 2021-01-17T05:14:34.000953 | 2015-10-25T13:43:48 | 2015-10-25T13:43:48 | 44,909,993 | 0 | 0 | null | 2015-10-25T12:54:45 | 2015-10-25T12:54:45 | null | UTF-8 | R | false | false | 1,384 | r | cachematrix.R | ## Matrix inversion is usually a costly computation and there may be some benefit to caching the inverse of a matrix rather than compute it repeatedly.
## Those functions cache the inverse of a matrix.
## makeCacheMatrix() creates a special "matrix" object that caches its inverse
makeCacheMatrix <- function(x = matri... |
5ffd51c48eb0fc4e7ca9602b6c6d47491256e76a | 0bbead7aac0c282df7f84ee70f8a83018a3b5d3c | /0ShinyBook-梅津/ShinyBook-master/chapter05/06-ReporteRs/server.R | 40f20c0eefdef92aa856eb2700b3de2f88e59556 | [] | no_license | luka3117/JcShiny | 284fa9ee29c5b9b86ee022b179e41e3cca153911 | 2c7c9fb410eac2c0f3acf6350a6daca780648d5a | refs/heads/master | 2022-12-12T00:35:35.684502 | 2020-09-17T17:42:00 | 2020-09-17T17:42:00 | 290,563,226 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,481 | r | server.R | library(shiny)
library(DT)
library(ReporteRs)
library(rJava)
library(ggplot2)
shinyServer(function(input, output, session) {
output_plot_fun <- reactive({
data <- data.frame(x = iris[, input$select], y = iris$Sepal.Length)
ggplot(data, aes(x = x, y = y)) + geom_point(colour = input$color)
})
output... |
1b9d2719b357b29ae6803aea5cb17c112d69d1a2 | 44cf65e7ab4c487535d8ba91086b66b0b9523af6 | /data/Newspapers/2000.10.12.editorial.58916.0462.r | 62a0da029eca4d2542120c46d09b26c64985bd07 | [] | no_license | narcis96/decrypting-alpha | f14a746ca47088ec3182d610bfb68d0d4d3b504e | 5c665107017922d0f74106c13d097bfca0516e66 | refs/heads/master | 2021-08-22T07:27:31.764027 | 2017-11-29T12:00:20 | 2017-11-29T12:00:20 | 111,142,761 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,490 | r | 2000.10.12.editorial.58916.0462.r | gata !
Mugur Isarescu si - a anuntat candidatura .
cei care au facut pariu ca nu va intra in jocul pentru Cotroceni au pierdut .
puteau la fel de bine sa cistige pentru ca premierul s - a lansat de parca ar fi renuntat .
ieri , pe pajistea insorita de la Palatul Elisabeta , intr - o discretie ca de receptie in stil... |
a80547ec54282509bb7d82947dca357862346ce0 | 3a28197b0054bb9ec0aeb7b9cd4e0804b67019f0 | /data cleaning code.R | c5d1ede737454bb126129242c49046b1f511e586 | [] | no_license | soilhealthfeedback/SHEAF_DATA_CREATION | c73ce3b40a71c2816b29d28e02cbfd3a7f99bbd2 | bcc16c433630aba7bc51c6f15a4b5e70ec8f747b | refs/heads/master | 2021-07-12T16:55:36.674760 | 2020-07-03T17:58:21 | 2020-07-03T17:58:21 | 165,294,891 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,400 | r | data cleaning code.R | # !diagnostics off
soilnonscaled<-MIDWEST_CORN_SOYBEANS_Model2_nonscaled_new
##rescaled farm cost variables to be dollars per acre
soilnonscaled$FARMCOSTS_Chemicals_1000Doll_2012_peracre<-(soilnonscaled$FARMCOSTS_Chemicals_1000Doll_2012*1000)/soilnonscaled$AGCENSUS_Cropland_Acres
soilnonscaled$FARMCOSTS_Depreciatio... |
01828c7b6eb9ce827673af6df86746e94fa7148b | ee8dd63922e47711a5911d282472e6784c5d67c0 | /man/quantify.Rd | 691c722d21b8efb2953d7fea92da7fc9462118f7 | [
"MIT"
] | permissive | atusy/qntmap | 07ff96149b4d8fb5ee2386b0892d524d1f55aa34 | 5b6a349ac12b600daad7e806e22982e514150b86 | refs/heads/master | 2021-06-04T06:01:19.809161 | 2021-04-06T13:54:15 | 2021-04-06T13:54:15 | 97,662,265 | 2 | 0 | MIT | 2021-04-06T13:54:15 | 2017-07-19T02:07:09 | R | UTF-8 | R | false | true | 2,623 | rd | quantify.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quantify.R
\name{quantify}
\alias{quantify}
\title{Quantify X-ray maps}
\usage{
quantify(
xmap,
qnt,
cluster,
maps_x = attr(xmap, "pixel")[1L],
maps_y = attr(xmap, "pixel")[2L],
phase = everything(),
element = everything(),
fi... |
58caba98d9a8d66fdcbe794537221f1f1078a7f0 | 83ace7c3562159301606e510dc9f98c92af60deb | /src/new/bestProducts.R | e5afa0d1af93f7d25390425e98c8c34c5d251c02 | [] | no_license | avz-cmf/bigdata | 0c18cba04dd3a26231abb0efcd83c7d6f5b2adb1 | b43c25892865a0cb479780789bc00eebd2922cd4 | refs/heads/master | 2023-08-11T05:32:02.549562 | 2016-08-16T11:14:25 | 2016-08-16T11:14:25 | 52,428,755 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 676 | r | bestProducts.R | # какие столбцы
# title, count_sold
getBestProduct<-function()
{
# проверят есть ли новые данные сохраняя id последнего спарсеного товара
#
{
queryProduct =paste("select * ",
"from ", myDbname, ".best_product;", sep = "");
}# создаем запросы
{
res = readTable(qu... |
fb1d4cb134bab7e3caa1adc28aa9c190227b7b3d | 29585dff702209dd446c0ab52ceea046c58e384e | /RcmdrPlugin.SM/R/globals.R | c540cc7f62ae5b0962e7234105f8e2a0074cdbb8 | [] | 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 | 545 | r | globals.R | # created 2012-08-28 by J. Fox
if (getRversion() >= '2.15.1') globalVariables(c('top', 'buttonsFrame', 'slider.env','scaleVariable','scaleFrame','boxPlot',
'groupsFrame','meanVariable','.activeDataSet','checkBoxFrame','identifyVariable','identifyFrame','subwin',
'scatterPlot','optionsFrame','jitterXVariable','jitt... |
3bc46d56931076f63fe82561dcf8a0d52c872ee0 | 2726e7bdfc2b688ccf7ecaac75a259bcaa0e9817 | /R/analysis/complaints/top_allegations.R | 581da1f6505b25b2023bd0ef557a068269367b62 | [
"MIT",
"GPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"GPL-3.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-unknown-license-reference",
"AGPL-3.0-or-later"
] | permissive | marvinmarnold/oipm_annual_report_2018 | e62c292c4398bc8f1222b75bb1003b6c5bc0100f | da5e5bf06b38280552ea8029cfa0ab4d6dc17c66 | refs/heads/master | 2023-03-12T06:24:14.192280 | 2022-02-14T19:47:34 | 2022-02-14T19:56:01 | 172,810,954 | 1 | 1 | MIT | 2023-02-28T12:16:21 | 2019-02-27T00:09:56 | HTML | UTF-8 | R | false | false | 2,444 | r | top_allegations.R | check.vars(c("allegations.for.year"))
########################################################################################################
########################################################################################################
title <- "Top allegations"
alleg.by.alleg <- allegations.for.year %>%... |
67a7ccab619a8adcf26c51c8d0322ac12d3388df | 042cb2b8204b16a09e4ebd0e5142f89018b2f868 | /R/internalFunc.R | 44077f3b187142741dba4dfef88d39771b8760ef | [] | no_license | ijazic/FreqIDSpline | 3a07cc7123c17af3527c918cc723c8620d8f5b07 | 80861ab0b38bd3be5cd8997fe4988a127e16f819 | refs/heads/master | 2020-04-15T14:39:47.422169 | 2019-01-11T01:35:05 | 2019-01-11T01:35:05 | 164,758,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,000 | r | internalFunc.R | ## function for sandwich estimator. sandwichEstCheese() is an Rcpp export
sandwich.var <- function(fit, y1, y2, delta1, delta2, x1, x2, x3, wts, b1.pred, b2.pred, b3.pred){
x <- fit$x
jac <- fit$jac
A.inv.mat <- solve(jac)
B.mat <- sandwichEstCheese(xvec = as.double(x),
y1 =... |
ba0099e542f9d375a2d9b99bb39272f601e62018 | 08457a9bcd1fa7bf10d1f22116ce42f8696dad32 | /examples/ds.job.R | 4377fb6e902e74c45d4a6e8e2cbb0f1825dfba26 | [] | no_license | ogutu/clim.pact | 8a249acc5d4e3c68c0293fca0f3ec6effbfef910 | dd4a01bb38f0f8d92fcdc443ab38ecec16f95523 | refs/heads/master | 2021-01-18T16:30:56.801697 | 2011-11-22T00:00:00 | 2011-11-22T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,848 | r | ds.job.R | rm(list=ls())
library(clim.pact)
source("ds_one.R")
elems <- c(101,601)
scens <- c("sresa1b","sresb1","sresa2")
test <- FALSE
options(device="png")
rcm.locs <- c("oslo","berg","trom","stoc","hels","koeb","reyk","tors")
for (ele in elems) {
stations1 <- avail.locs(ele=ele)$name[is.element(avail.locs(ele=ele)$iden... |
e00a59a444128bf4b6a3bfa20cafdf3ff1252b12 | 8915dc6d03526b6e015738d70298a22f3716d5ce | /folds.R | aa8389e9a7d083e5bbacfb8994d917e6480f5a5e | [] | no_license | philippeback/practical-machine-learning | caf81342591f214f07597ae8874ae0441cc38f5d | 3666fc2865ca57a11e488013e2b7c5706b74ebf5 | refs/heads/master | 2021-01-23T03:48:14.127660 | 2015-06-21T22:05:02 | 2015-06-21T22:05:02 | 37,826,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 374 | r | folds.R | # Let's have some fun with partitions and folds, to see how things are going.
# Always nice to have several entries to test the model against.
folds <- createFolds(trainingSet$classe, k=5)
training1<-trainingSet[folds$Fold1,]
training2<-trainingSet[folds$Fold2,]
training3<-trainingSet[folds$Fold3,]
training4<-training... |
0da5a3a5904b181efc0ec106300bc9d9eda27ce4 | 5965c2779ae9a801c6cb00e937b80f9af7fef9a2 | /plot1.R | ac45aafeb27edf30950584c1931c69b62e8a3638 | [] | no_license | sundaramesh/ExData_Plotting1 | c93accdc9a5c909de0e646d8afc54811aca65266 | fa5138a3d1e8e173c1df264c8f92af206bda05e6 | refs/heads/master | 2020-07-03T13:32:21.146721 | 2016-11-18T21:07:28 | 2016-11-18T21:07:28 | 74,165,939 | 0 | 0 | null | 2016-11-18T21:00:22 | 2016-11-18T21:00:22 | null | UTF-8 | R | false | false | 1,096 | r | plot1.R | ###########################################################
# Exploratory Data Analysis - Project 1
###########################################################
# Author : Ramesh SUndaram
# Code : plot1.R
# Date : 11/17/2016
# github : https://github.com/sundaramesh/ExData_Plotting1
#####... |
cbba4e2d88150768f8bb3f166a6b6305e6850bff | d217e37eec62c7bd990f7aad46ae39758910f0e4 | /02_voting_example.R | 8a82a4bdc37c4323827446f538c5caa57a722bb8 | [] | no_license | vfonsecad/ensemble_methods_workshop | 545e232536b4fa45425e3c2923ad2d80e079108b | bf25333579a96050c34628e2ca48954763f93445 | refs/heads/master | 2022-02-04T23:01:38.854151 | 2019-08-04T20:21:57 | 2019-08-04T20:21:57 | 199,320,292 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,384 | r | 02_voting_example.R | # -----------------------------------------------------------------------
# ------------- VOTING (PLS MODELS) ----------------------
# -----------------------------------------------------------------------
rm(list = ls())
# --- Libraries ---
library(data.table)
library(caret)
library(ggplot2)
# --... |
f44006742999989bb71c36396e21089c0d56c7cd | 7e323ebc12c514729ff4df23ff7fe6d8d2c3e395 | /man/add.hopar.Rd | 35be1590c82b79232cfc1aab3e57452b6482403c | [] | no_license | einarhjorleifsson/fjolst2 | 05fc78df588d4d749983dde53123e28effaad9f6 | a7385f789086e1e8c8e00452aa001e3dbc0259a2 | refs/heads/master | 2021-01-19T09:44:53.857406 | 2015-07-15T11:46:04 | 2015-07-15T11:48:54 | 39,079,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | rd | add.hopar.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/add.hopar.R
\name{add.hopar}
\alias{add.hopar}
\title{Add prey information to a dataframe}
\usage{
add.hopar(faeduhopur, flokkur, col.names = c("thyngd"), isl = F,
return.on.error = F, hopur = NULL, tmptable = F,
oracle = fjolstOr... |
5291b23285a44bbc39b51fa95b855dbf6ee5cf41 | 77157987168fc6a0827df2ecdd55104813be77b1 | /palm/inst/testfiles/euc_distances/libFuzzer_euc_distances/euc_distances_valgrind_files/1612968331-test.R | 9615ab779704c9f602d900c327854e4fd0ec9b59 | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | 1612968331-test.R | testlist <- list(x1 = numeric(0), x2 = NA_real_, y1 = NaN, y2 = c(NaN, 2.90856445706742e-320, 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, ... |
daef9570d55ea89c579a6bd9317edc5a6bf42442 | 2c38fc71287efd16e70eb69cf44127a5f5604a81 | /tests/testthat/test-class_branch.R | 5df4efbef0a03048616d31725d57a9e0474361ca | [
"MIT",
"Apache-2.0"
] | permissive | ropensci/targets | 4ceef4b2a3cf7305972c171227852338dd4f7a09 | a906886874bc891cfb71700397eb9c29a2e1859c | refs/heads/main | 2023-09-04T02:27:37.366455 | 2023-09-01T15:18:21 | 2023-09-01T15:18:21 | 200,093,430 | 612 | 57 | NOASSERTION | 2023-08-28T16:24:07 | 2019-08-01T17:33:25 | R | UTF-8 | R | false | false | 4,248 | r | test-class_branch.R | tar_test("branch$pedigree", {
command <- command_init(quote(1 + 1))
settings <- settings_init(name = "x", pattern = quote(map(y)))
cue <- cue_init()
branch <- branch_init(
command,
settings,
cue,
NULL,
character(0),
"y",
1L
)
expect_true(inherits(branch, "tar_branch"))
})
tar_te... |
5fead71a28caccf84feec0412d0a26280dc6b944 | 21f043f9c54a9e17d32afe3ba03d16dc8c031105 | /stats/Rfiles/stats_per_day_graph.R | e6ccd0d5a5fa8f2d314168748539b76bdc37f09f | [] | no_license | mquezada/tesis | 569d08ef26e25c9e9f72ed304c762d2eab4f4b84 | f2cdf46a9e2e129dfe7654db3ffb63cddc7ef871 | refs/heads/master | 2016-09-05T13:33:56.228985 | 2013-06-05T00:22:34 | 2013-06-05T00:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 422 | r | stats_per_day_graph.R | plot(c(16,22), c(200000,350000), type='n', xlab='day', ylab='frequency', ylim=c(0, max(tw)), xlim=c(16,22))
lines(x, ht, col='cyan', lwd=.5)
lines(x, mt, col='red', lwd=.5)
lines(x, tw, col='green', lwd=.5)
lines(x, ur, col='blue', lwd=.5)
lines(x, us, col='yellow', lwd=.3)
legend("topleft", c('Hashtags', 'Tweets', 'Me... |
216300ee085ab98b25c09239fa08327c45c56bbf | c523971f97f27f169b3e996d390667dd80459e8f | /Lab3/Final_report/RL_Lab1.R | f94d25e327826d8d4a77473c5cee50ab106c65c7 | [
"MIT"
] | permissive | hodfa840/Adv-Machine-Learning | c40fb59ece6d256c8685ddddd200b7574d37f2bb | d68016ae56431a605616ec761f1acf26bdaff924 | refs/heads/main | 2023-08-21T14:14:17.404502 | 2021-10-21T17:42:45 | 2021-10-21T17:42:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,507 | r | RL_Lab1.R | # By Jose M. Peña and Joel Oskarsson.
# For teaching purposes.
# jose.m.pena@liu.se.
#####################################################################################################
# Q-learning
#####################################################################################################
# install.packag... |
c8ce88e8b46645f467fa6f6a4c40ffbc62927a35 | 769778ca8129fdd210b008d74110a77af8e38c5e | /man/scale_quantitative.Rd | 640e46daa1b60bca9cdebc302f5d65b75595f8ea | [] | no_license | wch/ggvis | c36f1a6d95174fa15b2ef106db930d1d9ea86c8f | 1a7732c7e57eebc2f08ae28588276418e99649a7 | refs/heads/master | 2023-03-17T00:39:41.002979 | 2014-01-13T18:24:54 | 2014-01-13T18:24:54 | 11,941,640 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,618 | rd | scale_quantitative.Rd | \name{scale_quantitative}
\alias{scale_quantitative}
\title{Create a quantitative scale}
\usage{
scale_quantitative(name, trans = "linear", exponent = NULL, clamp = FALSE,
nice = TRUE, zero = FALSE, domain = NULL, range = NULL,
reverse = FALSE, round = FALSE)
}
\arguments{
\item{trans}{A scale transformation: one... |
89ea205ab942c7350cc0e585a4d47f519132104c | d3c500e5204d2a7d8965f25c8c61e46d24d4fe28 | /tests/testthat/test-site2sf.R | 45e671f52940d62c8d16d4cefc839e5fa05ec6f5 | [
"MIT"
] | permissive | WeiquanLuo/rivertopo | c7d4f7fd9617ebdeff79d2115aad47d5fab1e788 | e0e533c8e3d58b8c7b8d10dc3145ad37c76a684c | refs/heads/master | 2020-09-09T18:20:21.296681 | 2020-01-27T05:52:11 | 2020-01-27T05:52:11 | 221,524,684 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 421 | r | test-site2sf.R | context("test-site2sf")
test_that("check site2sf.R", {
df <- data.frame(id = c("Point1", "Point2", "Point3"),
lat = c(42.032974, 44.032323, 47.123123),
long = c(-93.581543, -92.58345343, -96.2324543),
stringsAsFactors = FALSE)
result <- site2sf(df=df,id_cn =... |
907324355ccd4706dd0a5cde1b4007f4e3820add | 9f9fc5049f7ce3e86b5a19127aa1fb1d56e7d805 | /R/get_prop_alt_rctr_know.R | ca048c5b43a50bc295820a5b0fbe43a9a60d40f7 | [] | no_license | jcfisher/hkestimator | 567c009ca5908bf03efcc6390fc3891f7e185029 | 2c3b21e576568c1b6c90260c910e7b872702a5de | refs/heads/master | 2021-01-19T04:08:34.665069 | 2016-06-30T13:24:51 | 2016-06-30T13:24:51 | 62,176,476 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 515 | r | get_prop_alt_rctr_know.R | #' Calculates the proportion that alter's recruiter (?) knows
#'
#' @param data: a data.frame
#' @param net: an adjacency matrix
#'
#' @export getpropaltrctrknow
#'
#' @return a matrix, little phi?
getpropaltrctrknow <- function(data, net) {
r <- nrow(data)
lilphi <- matrix(0, nrow = r, ncol = 1)
for (k in 1:r) ... |
b5c9ead0b39a440ce1ce7792b142e351c45bb1a6 | 3ad815d8a9a7ae03acef9e58080e5e7a7901b153 | /man/working_life_remuneration.Rd | 75345752910d935893fecf2cbc349c2b12148658 | [] | no_license | HughParsonage/CRIMpp | 0942503e5c11ecbff728fed62b2237d8caa92e3d | 511e7256709ee63a8a35ee0415298dba0cddaa3e | refs/heads/master | 2020-04-12T02:15:17.764726 | 2018-10-29T10:50:00 | 2018-10-29T10:50:00 | 68,201,653 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,719 | rd | working_life_remuneration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/working_life_remuneration.R
\name{working_life_remuneration}
\alias{working_life_remuneration}
\title{Working life remuneration}
\usage{
working_life_remuneration(starting_age = 30L, retirement_age = 70L,
start_fy = "2015-16", wage.method =... |
d7a96a1e509d3f42f6cf7de09d819e6c2e737111 | 274599f0c79becbb07a121414ef5161e192d219e | /code/rscripts/rqa/hri/v05/Ba_timeseries_aH.R | a44434c2357249c883822e9d95f938c6e936fc33 | [
"MIT"
] | permissive | mxochicale/phd-thesis-code-data | 44ab2f34a8407eca7c88e390a5acd19f18c0e3ea | 6da4eea7643ff747ac84d5b2ed542fd7cb19db31 | refs/heads/master | 2022-01-09T17:58:13.132829 | 2019-05-12T19:00:56 | 2019-05-12T19:00:56 | 142,457,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,612 | r | Ba_timeseries_aH.R | ###############################################################################
#
#
#
#
#
#
# Written by Miguel P Xochicale [http://mxochicale.github.io]
#
# If you see any errors or have any questions
# please create an issue at https://github.com/mxochicale/phd-thesis-code-data/issues
#
############################... |
d5d85db70e14a60fafc01fa127509bacb380a3bf | eec115235405a54b642d3286863dcca14786c9e8 | /selectiveModel/man/dot-hit_run_next_point_radial.Rd | 7500e5127cdba02e896fd68d691035be3dba7af4 | [
"MIT"
] | permissive | linnykos/selectiveModel | 5f5c95f84c006dc8bd83fdc2032ea251a9f4d3e6 | 75e42567a9a4fe1daf4d80a54cc15e47e549f60d | refs/heads/master | 2023-01-21T18:24:22.665232 | 2020-12-01T16:45:43 | 2020-12-01T16:45:43 | 110,089,332 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 482 | rd | dot-hit_run_next_point_radial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hitrun_radial.R
\name{.hit_run_next_point_radial}
\alias{.hit_run_next_point_radial}
\title{Output the next point for hit-and-run sampler, Radial}
\usage{
.hit_run_next_point_radial(y, null_mat, polyhedra)
}
\arguments{
\item{y}{data}
\item{... |
0174a569967ae41122a1ddfd9d40909787c95207 | a626e42ef9c0a192f5e014fcfd15523a89d8d555 | /man/mle2d_svc.Rd | 603091af58b1e637dce7363de968b31788217f50 | [] | no_license | cran/sEparaTe | b01342b39377dfa5083db35df52b93aa1e7e8327 | 002ab63c3fc8b48c5d8ece2b3b282cc8d1a1eb5b | refs/heads/master | 2023-08-20T05:28:14.255591 | 2023-08-18T07:50:02 | 2023-08-18T08:31:07 | 60,652,434 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,092 | rd | mle2d_svc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mle2d_svc.R
\name{mle2d_svc}
\alias{mle2d_svc}
\title{Maximum likelihood estimation of the parameters of a matrix normal distribution}
\usage{
mle2d_svc(value2d, Id1, Id2, subject, data_2d, eps, maxiter, startmat)
}
\arguments{
\item{value2d}... |
92379f998209963f73bfb214444f1f26d3b314a1 | db0b537705b0671f527a8d406f13fb1de5b49616 | /data/test_dataset/R/Max-Min-of-Vector.R | 3e2384c7fef73b6d7bde0bfa6dde3f8643b1c8b0 | [] | no_license | rakeshamireddy/Automatic-Code-Translation | 7e43d9232b1af2f9e1c62e76c1720f9469bdd842 | 9c4d0b040ee2eaccdcec8d8321f262d748c5c4b0 | refs/heads/master | 2023-04-22T23:29:55.205930 | 2021-05-15T03:06:03 | 2021-05-15T03:06:03 | 299,511,652 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 215 | r | Max-Min-of-Vector.R | max_min_vector <- function() {
n = c(10, 20, 30, 40, 50, 60)
print('Original vector:')
print(n)
print(paste('Maximum value of the said vector:',max(n)))
print(paste('Minimum value of the said vector:',min(n)))
}
|
91cd63c9462e872b5ff0d0642580785c43e94c42 | 5c601d4d005328a2a52fa542f00bc38b64de7eb2 | /R/effect_sizes.r | a40af57c6c0591f801d45c15dad053fef6865d85 | [] | no_license | skranz/regtools | 012ef2e250160473ff4f7898c1003e06781c34c1 | 426fb244b238bb30b3f0bc3c6b9f6ba66a030cd9 | refs/heads/master | 2020-12-25T17:34:08.353180 | 2019-04-11T13:48:19 | 2019-04-11T13:48:19 | 22,969,689 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 17,733 | r | effect_sizes.r |
#' Change units of columns in a data frame, e.g. measure relative to one standard deviation
#'
#' useful to make coefficients in regressions better comparable
scale.data.cols = function(dat,unit="sd",cols = setdiff(colnames(dat),exclude), exclude=NULL, dummy01=TRUE) {
units = lapply(colnames(dat), function(col) ... |
be7f9119b20ef6f3fdbf222e07bc7b82c5e40b76 | 2ff2b73ee9b446747ffe79c1afd1790a6d4dccb2 | /src/matchDegree.R | ffee85033225c3f7a48d1eb3fbf3fdcdc91d0f17 | [] | no_license | AlpAribal/gradcafestats | 6d79418485592944832b2d1a0bbd59864a9595e3 | 998ac372619be6ed58f87d614cd17fb4a1c20f7f | refs/heads/master | 2022-04-13T05:19:01.242493 | 2020-04-02T11:26:14 | 2020-04-02T11:26:14 | 170,407,202 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,885 | r | matchDegree.R | require(data.table)
require(stringr)
submissions <- fread(input = "../data/submissions.csv", sep = ";", header = T, select = c("submissionId",
"institution", "major", "degree", "notes"), quote = "")
submissions[str_detect(string = degree, pattern = regex("m", ignore_case = T)), `:=`(degree,
"Master's")]
sub... |
c1b632c5fecdf83efc6fcb2bd328d4bb3cb29070 | 8e540ab736ac0682d95b3b8a3776782bd69bdafa | /man/as.abucount.Rd | ed2be9bb6cee8f1798c6ea20d6961d899b06a246 | [] | no_license | JohnsonHsieh/iNEXT | 4b71515a0c1a6a3143661fb351eadcaaf485fad4 | 9a2ceb13fb39bcf8fc6d4804f61b8b3c4d66bbe4 | refs/heads/master | 2022-08-31T06:49:43.096499 | 2022-08-29T10:57:46 | 2022-08-29T10:57:46 | 13,438,394 | 49 | 30 | null | 2022-08-29T12:01:15 | 2013-10-09T09:34:41 | R | UTF-8 | R | false | true | 633 | rd | as.abucount.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/invChat.R
\name{as.abucount}
\alias{as.abucount}
\title{Transform abundance raw data to abundance row-sum counts (iNEXT input format)}
\usage{
as.abucount(x)
}
\arguments{
\item{x}{a \code{data.frame} or \code{matirx} (species by sit... |
70f6ec809a33e615295e53ce3218d0cd824021b7 | f26ea5d9d7488fd41ea17c17bf52ae3cf4f093c7 | /R/tslarsP.R | 3829a1c95bf048a09f05b27d59cf8e7772800436 | [] | no_license | cran/robustHD | b62265881b537151dd5990d64dc0a63379d52030 | f348809d3fc47b880050183225863908867aca05 | refs/heads/master | 2023-01-30T18:45:24.631406 | 2023-01-18T13:50:02 | 2023-01-18T13:50:02 | 17,699,287 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,434 | r | tslarsP.R | # --------------------------------------
# Author: Andreas Alfons
# Erasmus Universiteit Rotterdam
#
# based on code by Sarah Gelper
# --------------------------------------
#' (Robust) least angle regression for time series data with fixed lag length
#'
#' (Robustly) sequence groups of candidate pred... |
4cba79dcbcb3f43981086616649997323dd4d2b4 | d641a33455772b681975596383ab7b99e967665d | /code/07_plot_fig02_substate_all_opioids.R | 74e3b9cd88d9376796e0607556d6e38e7b38d60c | [] | no_license | mkiang/opioid_inequities | e0271498dd764422d6dbe51a43dcbac7742912f4 | 5da5d38b423b2298cae1f9d0d250cdde818badf4 | refs/heads/master | 2023-04-06T16:34:06.488240 | 2021-10-19T02:47:40 | 2021-10-19T02:47:40 | 330,014,401 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,480 | r | 07_plot_fig02_substate_all_opioids.R | ## Imports ----
library(tidyverse)
library(geofacet)
library(patchwork)
library(here)
source(here::here("code", "mk_nytimes.R"))
source(here::here("code", "utils.R"))
## Data ----
results_df <-
readr::read_csv(here::here("data", "joinpoint_estimates_suppressed.csv"))
results_df <- results_df %>%
categorize_op... |
2a911c18c97268a51544562516a309b9ffe3427b | 0319959633999a8b5da37dd02dce06b227349f73 | /R/reference.R | bb1b0b04669c11c66d9cc4be08e4ed297514ebba | [] | no_license | nyuhuyang/scRNAseq-Lymphoma | b11d02192210691101259325636ee1726e191272 | e85d9e0fc0809926164749d84c037efc1e1c3fc0 | refs/heads/master | 2021-04-04T22:01:18.048964 | 2019-03-26T15:34:32 | 2019-03-26T15:34:32 | 124,987,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,002 | r | reference.R | library(SingleR)
library(genefilter)
library(dplyr)
source("../R/Seurat_functions.R")
#---------------------------
# E-GEOD-43717 (skip if GSE43717 is available)
#---------------------------
E_GEOD_43717 <- read.table(file = './data/GeneSets/E-GEOD-43717/E-GEOD-43717-query-results.tpms.tsv', sep = '\t', header = TRUE)... |
1584306b570a981db18304307ffff61ad834a634 | 5535aebd21d291783f77aa8d35e127d66022acb9 | /tests/testthat/test-open-spreadsheets.R | cf10abf95a85c82f248af7dbb46dc96ef9d8eefc | [] | no_license | arturochian/gspreadr | 41cb4e276a703ba7bfdf3006153cc08793aa5b99 | e7b0b0a155bc2d1b8e3aa858fee79143530a5dad | refs/heads/master | 2020-12-11T03:21:03.254666 | 2015-01-13T00:14:38 | 2015-01-13T00:14:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,395 | r | test-open-spreadsheets.R | context("opening spreadsheets")
test_that("Open my private spreadsheet", {
sheet1 <- open_spreadsheet("Private Sheet Example")
sheet2 <- open_by_key("1bd5wjZQI8XjPrVNUFbTLI-zhpS8qLJ1scPq1v4v3mWs")
sheet3 <- open_by_url("https://docs.google.com/spreadsheets/d/1bd5wjZQI8XjPrVNUFbTLI-zhpS8qLJ1scPq1v4v3mWs/edit#gid=... |
40eb72f63208dff9336e82dc631a8f1fe6c71bd5 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /GenEst/man/estM.Rd | 2fa059ac3cf327f76f7579aa307d65b6e61f4a49 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,670 | rd | estM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mortality_functions.R
\name{estM}
\alias{estM}
\title{Estimate mortality}
\usage{
estM(data_CO, data_SS, data_DWP = NULL, frac = 1,
COdate = "DateFound", model_SE, model_CP, model_DWP = NULL,
unitCol = NULL, SSdate = NULL, sizeCol... |
8254f3b9c5e8038b2093f59107cc856557a36dda | 60e830955164b8f0ff21a3dbd850319bae68567e | /WaveformCode/PopulationAnalysisCdfs.R | 5f222917dcc1a61233153a179a132286efd8220b | [] | no_license | BenLopez/UHSM_BHF | 739ed912182c36f2bf719d771c6392a1dfbe6f47 | 4afad6662f95f1d20f7270113c80a1836d035028 | refs/heads/master | 2021-05-26T07:31:07.476669 | 2019-12-03T09:52:56 | 2019-12-03T09:52:56 | 127,924,523 | 0 | 0 | null | 2018-10-10T11:03:39 | 2018-04-03T14:53:28 | R | UTF-8 | R | false | false | 5,055 | r | PopulationAnalysisCdfs.R | {
if(file.exists('CheckforDefaultsScript.R')){
source('CheckforDefaultsScript.R')
}else{
pathFiles <- setwd(paste0(choose.dir(caption="Select folder with source code."), "\\"))
source("LibrariesAndSettings.R" , print.eval = TRUE )
DP_LoadPatientIndex()
DP_ChooseDataReps()
FilestoProcess <- DP_ChooseECGstoP... |
e7644c9cf00da6a46f1581bc37d8cc380e8ea2f3 | 39b9897c3e110aed4f8f0a62b616f7e14d2c91ec | /Monte_Carlo_Bayesian_Model.R | 4ef95c1051612d2b9df28caae3f1f6e5e90c13e3 | [] | no_license | planetx316/Monte-Carlo-simulation-Bayesian-estimation | 60bf6ca7ab9ba428d247079bb93e52202ee583a7 | 2b4dc588a166001ce568a5f7d749514b2ceec5ae | refs/heads/main | 2023-09-05T09:37:28.949643 | 2021-11-18T09:39:22 | 2021-11-18T09:39:22 | 429,372,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | r | Monte_Carlo_Bayesian_Model.R | set.seed(32)
m=1000
a=2.0
b=1/3.0
#simulating gamma values
theta=rgamma(m,a,b)
hist(theta,freq=F)
curve(dgamma(x,a,b),col='blue',add=TRUE)
#Mean of the simulated values will get us closer to the true mean using the Law of large numbers
mean(theta)
#To calculate P(theta<5)
ind=theta<5
ind
mean(ind) #this is the P(0<... |
e6da48517717db1a6d68e1472ebbaecff6b0e916 | aad7c7b66c10940ab3cb23cb24192b2417e74fef | /man/load_chromosome_lengths.Rd | 67751dca275ae18ef50a9271de54b06381159ac5 | [] | no_license | TransmissibleCancerGroup/dftdLowCov | 7b029a3a2b62e359b60343d6579c3a8be9136099 | 2f884d69654b4289ef322932ba5077940c260ebe | refs/heads/master | 2021-01-02T04:49:03.263038 | 2020-05-28T16:15:21 | 2020-05-28T16:15:21 | 239,495,322 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 280 | rd | load_chromosome_lengths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\name{load_chromosome_lengths}
\alias{load_chromosome_lengths}
\title{load_chromosome lengths into a list}
\usage{
load_chromosome_lengths()
}
\description{
load_chromosome lengths into a list
}
|
5d84dceb55a0e7a79944f6b23e466a587826216c | d93a089c03d265fd0458c29f16851b09807db3c2 | /man/asciicast_renderer.Rd | b410038db57da3617016ccf913b0ceddca3e74b1 | [
"MIT"
] | permissive | coolbutuseless/asciicast | 1a1e20659779c721135170eb1cf13dbff28b05d6 | 8e88fefaeff3079e953b15f88e29e9ac4af0e592 | refs/heads/master | 2020-05-19T11:05:42.999817 | 2019-05-05T05:32:30 | 2019-05-05T05:32:30 | 184,983,600 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 614 | rd | asciicast_renderer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gganimate.R
\name{asciicast_renderer}
\alias{asciicast_renderer}
\title{A 'renderer' to use with \code{gganimate::animate()}}
\usage{
asciicast_renderer(filename = tempfile(fileext = ".cast"), ...)
}
\arguments{
\item{filename}{output file fo... |
e9a78deb214b9a748701a5634f94aac10f1883f4 | 71c38902f491f8031015d8d6664ddd7e80e0db43 | /FLBIEA_sim_cod_had_whg/prepare_input_fishing_effort_data_00.R | 8cf15d90c49e8099fb17411d573394642c8fa389 | [] | no_license | GhassenH/FLBEIA_GIT | d5707bdf5cb0969d51cf387e0af33909813c381b | 37607124f96ba6c1033dce001317ae94eec5347c | refs/heads/master | 2020-09-21T15:33:54.029693 | 2019-12-03T09:11:19 | 2019-12-03T09:11:19 | 224,831,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,143 | r | prepare_input_fishing_effort_data_00.R | ####################################################################
# Prepare data for FLBEIA simulations
# Fishing effort by fleet and effort share for each fleet and métier
# Ghassen Halouani
# Februray 2019
######################################################################
## 1. Fishing effort by fleet
age <-... |
b222c3270f07156394217b9b4ab5580fc2d43dd8 | 7c6b5502b56e7be64f87dcb474f5f01ac88992a5 | /man/var.in.colour.Rd | 9fa1a60c8e976f1094d3c1711f1b3e27b7646a6c | [] | no_license | rxmenezes/rscreenorm | c4cc575c3c5c1f05aec3d7c14448a13452a7c310 | 88c8abca441fd8894d026a351c232ae832d5b228 | refs/heads/master | 2020-03-24T17:21:31.899634 | 2018-08-05T06:43:08 | 2018-08-05T06:43:08 | 141,115,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,769 | rd | var.in.colour.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_functions.R
\name{var.in.colour}
\alias{var.in.colour}
\title{Creates a colour variable corresponding to a factor.}
\usage{
var.in.colour(myclass, mystart = 0.1, myend = 0.9)
}
\arguments{
\item{myclass}{a factor, or a variable that can ... |
23457c67e6d73a6c9e95fd2f9541edfd54b43dc3 | 59d501a829468e393db33cc38a192c1ed154f8ef | /R/ci_single_mean_theo.R | bb64d3b4825b77cb734020f865eb87fc4986a110 | [] | no_license | aaronbaggett/labs4316 | 9687d80b2db2a73a80478bd343b75111c8821510 | e467139cd2d14c0b11561db4a2146e7d969bbbce | refs/heads/master | 2020-04-21T08:39:50.833663 | 2019-09-17T18:27:27 | 2019-09-17T18:27:27 | 169,426,048 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,678 | r | ci_single_mean_theo.R | ci_single_mean_theo <- function(y, conf_level, y_name,
show_var_types, show_summ_stats, show_res,
show_eda_plot, show_inf_plot){
# calculate sample size
n <- length(y)
# calculate x-bar
y_bar <- mean(y)
# define degrees of freedom
df <- n ... |
2a87734cedb73b542c11a24f66f6eb15dd1db642 | a07745b632ba07b4f66a4529ea8d3642b283a3e8 | /Sentiment Analysis/Twitter.R | 0b3e34270f1c97b452e807805ab2b5d7144f70d1 | [] | no_license | siri1696/DataScience | f21ae3f0ba808f738be4c0be862522091d29a428 | 68c15bc4fd9e6a865b873e5650e08ea4a853fcb9 | refs/heads/master | 2022-12-11T22:17:44.722303 | 2020-09-13T15:53:32 | 2020-09-13T15:53:32 | 293,814,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,203 | r | Twitter.R |
library("twitteR")
library("ROAuth")
cred <- OAuthFactory$new(consumerKey='zh5iKDe3s4q2QERnp9ubr7RmR', # Consumer Key (API Key)
consumerSecret='SAGa0Pv703f1HHLJH1lLl7byGsXgMx4VxgGRnVb4J1Apq5mR1A', #Consumer Secret (API Secret)
requestURL='https://api.twitter.com/oaut... |
ea74533be95c9345e3f98cac7720a4a0f4586f38 | 3a4dc294c0e19742daa2dd4f81249576d3712326 | /200403/200403_text_mining.R | 1b7c7c57a10602b6aa4382239e60877bc276ed9d | [] | no_license | Johnkim92/r_workspaces | e2bcd58e36e36db96597172e78a29b444ab8845e | fe9ed936879a590fe93cd41f7ce4c54bd57030f1 | refs/heads/master | 2021-05-18T22:50:24.839083 | 2020-04-08T01:47:15 | 2020-04-08T01:47:15 | 251,462,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,046 | r | 200403_text_mining.R | # 힙합 가사 텍스트 마이닝
# 패키지 설치
install.packages("rJava")
install.packages("memoise")
install.packages("KoNLP")
# 패키지 로드
library(KoNLP)
library(dplyr)
# 사전 설정하기
useNIADic()
# 데이터 준비
txt <- readLines("../datas/hiphop.txt") # 마지막줄에 엔터가 안눌려져있어서 불완전하게 마감되어있다는 경고메시지가 뜬다.
head(txt)
# 특수문자 제거
install.packages("stringr")
librar... |
5365b31474a2841b6f375d6f171d0c2e68968f91 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/quRan/examples/quran_en_yusufali.Rd.R | 5140fe94939c0462af1561e2b5e69a47854bf463 | [] | 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 | 363 | r | quran_en_yusufali.Rd.R | library(quRan)
### Name: quran_en_yusufali
### Title: The Yusuf Ali translation of the Qur'an (English)
### Aliases: quran_en_yusufali
### Keywords: datasets
### ** Examples
# See first few rows
head(quran_en_yusufali)
# How many ayahs are in each surah?
library(dplyr)
quran_en_yusufali %>%
group_by(surah_title... |
6a94833aca4ed404be237813c8fda3cb544f9e17 | 57a791c35698e39313c97598d7d528843a0b0f1f | /01-t-test-tables.R | 17bf2ca078c2cc193aa849eb36010f7ed33c20bb | [] | no_license | arnsbarger/opioid-mine-proj | 87d290723c551c382c36ba87ef80e2f4c1278cf3 | b4385c7b12606243d07a4987ee6df7555cd83ccf | refs/heads/master | 2023-08-04T15:47:32.994278 | 2021-09-17T17:22:25 | 2021-09-17T17:22:25 | 235,850,624 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,937 | r | 01-t-test-tables.R | # want to show that counties with closings are systematically different from counties without closings
# libraries
library(ggplot2)
library(usmap)
library(rgdal)
library(reshape2)
library(acs)
library(dplyr)
library(stargazer)
options(scipen=999)
# load mines data frame
setwd("~/git/opioid-mine-proj/")
source("00-cle... |
124dd5fe376ee30b0a36dea1d6c9539440904a27 | 02b9550223b3125811ce5d559622be191ec62e7e | /man/est_paras.Rd | 8cb862a8d539793ca9754db65016bbfd344426d7 | [] | no_license | xinyiyu/MR-APSS | 67ce7446f30c453be5fccbe14f29bf48ee13f211 | ddb918905fe3ffedab46f38454c72cec725643b9 | refs/heads/master | 2023-07-17T20:50:17.456871 | 2021-08-25T14:13:50 | 2021-08-25T14:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,306 | rd | est_paras.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/est_paras.R
\name{est_paras}
\alias{est_paras}
\title{A function harmonising datasets and estimate background parameters by LD score regression.}
\usage{
est_paras(
dat1,
dat2,
trait1.name = "exposure",
trait2.name = "outcome",
LDSC... |
6e1d30d3dee3ee073c92d2cf6e80d5b4bb4cc83b | 5a79eecb3ec54fa71022d07e0b61bfbe4f2e55d8 | /diamonds-price-regression.R | 9a626f4f728ad437504ddc301e3bbf441f1d3c91 | [] | no_license | cdsmax/regression_models | c05122a68fad0aa6a015cbb570a6a82432b38981 | 75d88fc29de1ead762618c4bef7327c56ef549bd | refs/heads/master | 2020-06-02T19:34:56.486419 | 2015-02-15T18:07:45 | 2015-02-15T18:07:45 | 30,831,571 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,298 | r | diamonds-price-regression.R | # example of regression with confidence intervals for the coefficients
# based on the diamond data
# full calc example for this:
# fit <- lm(y ~ x)
# summary(fit)$coefficients
library(UsingR)
data(diamond)
# we assume price of diamonds depends on their mass in carats
x <- diamond$carat
y <- diamond$price
n <- length(... |
dd20a1d09563d66bd9521bbba0cfb175447b92d9 | 0079d55b6d1178f390b333cc6afc36e39c87ac87 | /man/boundary.Rd | 00ab1cb689ec8112d18c4675548adb9157a705c8 | [] | no_license | cran/rWMBAT | 08e88ec256fd6125b11ff16e9b510f888568c96a | 1b5961730491fa9cea2bd4625b7fc0da6911fbf1 | refs/heads/master | 2018-12-29T21:26:46.553640 | 2009-10-28T00:00:00 | 2009-10-28T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 185 | rd | boundary.Rd | \name{boundary}
\alias{boundary}
\docType{data}
\title{Example Data}
\description{
The location used to bin the data to get max MI
}
\usage{data(boundary)}
\keyword{datasets}
|
948811073aa860c6f0f3aeabcdb8582e936869a3 | 075a864bb66f0339d033b62441bc6f7f3fea6a31 | /varimp_rf.r | fd1d37bf382ee2124a70e60dc7e922565bf7df0d | [] | no_license | 1enemyleft/Kaggle | 130a470df6f61196d139319f4d14deb792d7c96d | 90bcce2eb1a57f30b1257b8077350ad6c2ed9c19 | refs/heads/master | 2021-01-12T22:17:38.884153 | 2015-05-04T18:27:27 | 2015-05-04T18:27:27 | 35,021,837 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,050 | r | varimp_rf.r |
library(ggplot2)
library(randomForest)
library(readr)
set.seed(1)
train <- read_csv("train.csv")
test <- read_csv("test.csv")
submission <- data.frame(id=test$id, Class_1=NA, Class_2=NA, Class_3=NA, Class_4=NA, Class_5=NA, Class_6=NA, Class_7=NA, Class_8=NA, Class_9=NA)
rf <- randomForest(train[,c(-1,-95)], as.fa... |
30fbfb9bcdb46e81b19802e6e90c1cfa81dccf28 | 5f3eed2db2d0e11017524dad7a7890278ab5bc3c | /rnn_cbg_v2.R | 735e8a695d6def0ffc3b075b4d4ce5e1a612d9c3 | [] | no_license | csainsbury/rnn_inpatient_cbg | c8e28922f6dc239834de2ba9baaf3eecee24ed78 | e9d6bd8d618e23832eaf9a4d2d799f063f962e78 | refs/heads/master | 2020-12-30T13:20:32.506879 | 2017-05-22T20:02:19 | 2017-05-22T20:02:19 | 91,202,788 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,249 | r | rnn_cbg_v2.R | library(data.table)
returnUnixDateTime<-function(date) {
returnVal<-as.numeric(as.POSIXct(date, format="%Y-%m-%d", tz="GMT"))
return(returnVal)
}
## DM
summaryOutputName <- paste("~/R/GlCoSy/source/DTwithPerIDdata.csv",sep="")
DT<-read.csv(summaryOutputName, header=TRUE , sep="," , row.names=NULL)
DT<-data.tabl... |
9a9a5a7e6c58b8942af6760ad4a6edc37bc8f69b | 2c61ff990535e204d2edc233ffbac928e93cb8b3 | /man/pt_create_pParams.Rd | 817c5fb7d6ce76e9c4f08570c5a891bb61f17526 | [] | no_license | bernhard-da/ptable | 5a7ff510adf579fd2e6a2c8a510ed35b42ae6b8d | 05f604b67115bd672146e3f69e462b7c8e36c9f4 | refs/heads/master | 2020-03-22T17:24:13.684014 | 2019-10-01T07:28:44 | 2019-10-01T07:28:44 | 139,999,143 | 0 | 0 | null | 2018-07-06T15:07:32 | 2018-07-06T15:07:32 | null | UTF-8 | R | false | true | 1,828 | rd | pt_create_pParams.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pt_create_pParams.R
\name{pt_create_pParams}
\alias{pt_create_pParams}
\title{pt_create_pParams}
\usage{
pt_create_pParams(D, V, js = 0, pstay = NULL, optim = 1,
mono = TRUE, table = "cnts", step = 2, icat = NULL,
type = "all", label = pa... |
3ae994a55f5c91dec0e6101a20bc1c6704f1a097 | 7161c0ba36757e59c685553bfa3477cb4b6cb916 | /Exploratorios.r | 64dd55be170be940c2ae1fb99d7f6ca41c63339a | [] | no_license | grupo-gien/Exploratorios-en-R | 436ac3f2ee3388a9392739914817adde32a45710 | 3c3610ce5b41de5cc4a18f03da1a7be26f6cfdf0 | refs/heads/main | 2023-02-02T20:41:27.737610 | 2020-12-17T00:20:32 | 2020-12-17T00:20:32 | 318,847,566 | 0 | 1 | null | null | null | null | ISO-8859-1 | R | false | false | 10,157 | r | Exploratorios.r |
#-------------------------------------
# Base de datos
datos <- read.csv2("Insectos.csv",row.names=1)
datos = read.csv2("Insectos.csv",row.names=1)
datos <- read.csv2(file.choose(),row.names=1)
#-------------------------------------
# LIBRERÍAS REQUERIDAS
library(lattice)
library(ellipse)
require(SciVi... |
3cc0ecf2e36e6a89b99eb72cdafec015510ae586 | 61aa1a5d5375320b63823e5e6d1b98abaa507afd | /man/getData_champion.Rd | ff2d697d03b43d31d8ce14532206de23d5d12e4a | [
"MIT"
] | permissive | PedroVitorino-ICS/cbloldataR | ffc40d67b0df04f1b624fcfdf9f3a9fb12b05d71 | 8fcfa71c1bd6b8d19a052e0b751b1c8fbe478b24 | refs/heads/master | 2023-01-06T21:42:07.506525 | 2020-10-30T13:22:36 | 2020-10-30T13:22:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,290 | rd | getData_champion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getData_champion.R
\name{getData_champion}
\alias{getData_champion}
\title{Harvest data of champions in games of CBLOL from Leaguepedia}
\usage{
getData_champion(Role, Year, Split, Champion = NULL)
}
\arguments{
\item{Role}{(character) The la... |
fa1117db4f76f041e2d329fbc47788cd650e4611 | 7c8d7c2f070a0a40bba6cdb53cb2fbfc29fab07b | /man/get.nb.gamete.Rd | a675622907237c52d7f4a36e2bc9135dc28c9f26 | [] | no_license | frederic-michaud/fressa | c2227c1e5d8ca75b3294de72199da07f305d8834 | 107ba785b2547279d3ec9eb2a78448b9ccfbc5e6 | refs/heads/master | 2021-04-15T18:18:05.515976 | 2018-05-25T09:33:33 | 2018-05-25T09:33:33 | 126,500,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 321 | rd | get.nb.gamete.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core_function.R
\name{get.nb.gamete}
\alias{get.nb.gamete}
\title{get the number of possible gamete that exist for a given genome}
\usage{
get.nb.gamete(genome)
}
\description{
get the number of possible gamete that exist for a given genome
}... |
fadcf3ee0fb743aa682666d1214f2c4c8ba46038 | 72c00331eef22b3e00b6baf6dfe06de81ca39337 | /tests/testthat/test-numeric.R | 40a98383f871b66e5fa142701ea7dba49e1b227a | [] | no_license | itsdalmo/tabulR | 87e7ea011004ce1dd6139d8def60331e43f67348 | 6965769db8bb37d6f3857f3ad2089f683c0fee79 | refs/heads/master | 2020-12-24T18:50:39.728534 | 2016-06-13T09:01:13 | 2016-06-13T09:01:13 | 57,385,936 | 0 | 0 | null | 2016-10-02T13:09:35 | 2016-04-29T13:25:45 | R | UTF-8 | R | false | false | 2,321 | r | test-numeric.R | context("numeric columns")
set.seed(1000L)
df <- data.frame(
group = factor(paste("Group", LETTERS[1:3]), levels = paste("Group", LETTERS[1:4])),
fct = factor(c("No", "Yes", NA), levels = c("Yes", "No", "Don't know")),
int = as.integer(runif(3, 1, 10)),
num = runif(3, 0, 100),
weight = c(1, 2, 2),
stringsA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.