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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7758407b4ac78377b45d24b56dcd4862e098da9d | bfffac0780569c66250007b0344023346ac91458 | /man/conplot.Rd | e0398b85080c6f153739b0dec402d4027ff9f75e | [] | no_license | cran/EMMIXskew | aef1a0b4d9f6af883a7e22a349f0fbf36b086f82 | b9ceb25f4722778c5fe65276272d01a234dd6670 | refs/heads/master | 2020-05-18T18:45:41.728074 | 2018-02-13T03:19:56 | 2018-02-13T03:19:56 | 17,678,934 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,102 | rd | conplot.Rd | \name{conplot}
\alias{conplot}
\alias{conplot2}
\alias{conplot3}
\alias{mypanel2}
\alias{mypanel3}
\alias{mypanel4}
\alias{panel.density}
\title{
Functions of Contours}
\description{
These functions are called by EmSkew.contours,EmSkew.filter and EmSkew.flow to plot the contours of (skew) mixture density after fitting ... |
f9d759f5aa300a5019d531add466242545b3fdd1 | ea54e2665d0ddb390dbcc12972cdd2bdbd059dfb | /R/mz_atomize.R | 5a1b91b5606cb2449d5fb60c21e79987f98f1e83 | [
"MIT"
] | permissive | wmoldham/mzrtools | 15960486e39cc4be6ada9447b50faa06131e9676 | fb50c9424415083e063ad365877a162ce7e2ef4e | refs/heads/master | 2021-03-30T05:40:09.352183 | 2020-10-22T19:54:14 | 2020-10-22T19:54:14 | 248,021,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,834 | r | mz_atomize.R | #' Parse a molecular formula into element and count
#'
#' \code{mz_atomize} separates a molecular formula into element and count,
#' returning a named vector of element counts.
#'
#' @param molecule A string containing a molecular formula (\emph{e.g.}, "C2H7NO3S").
#' Structural formulas containing parentheses ... |
24a64233cf96dfd28942d7172301bd5135e1175d | 5d690f159266b2c0f163e26fcfb9f9e17a0dc541 | /McSpatial/man/matchqreg.Rd | ca258add971dde25bc8323ab0c89d8affbb4c946 | [] | no_license | albrizre/spatstat.revdep | 3a83ab87085895712d7109c813dcc8acb55493e9 | b6fc1e73985b0b7ed57d21cbebb9ca4627183108 | refs/heads/main | 2023-03-05T14:47:16.628700 | 2021-02-20T01:05:54 | 2021-02-20T01:05:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,260 | rd | matchqreg.Rd | \name{matchqreg}
\alias{matchqreg}
\title{Sample quantiles and means over time for a matched sample data set}
\description{Calculates and graphs sample means and quantiles over time.
Intended for but not limited to a data set constructed with \emph{matchprop} or \emph{matchmahal} }
\usage{
matchqreg(form,taumat=c(.1... |
25a6613b5fc6c9fadc537b762b821a1872c64947 | 136eb68c86c635874692878a3cf54faeb3b36b45 | /AzureML/R/consume.R | 6d2c72336d6856ff6b06d87e6a5a5fb2aef0ddae | [
"MIT"
] | permissive | Azure/Azure-MachineLearning-ClientLibrary-R | 84f5a2db2c3c0dd1f417c5c470cee4899c8c3611 | dda06a103f774491de48dd54db8e56b961de7861 | refs/heads/master | 2023-04-14T12:25:46.928784 | 2023-03-28T16:48:16 | 2023-03-28T16:48:16 | 38,313,864 | 22 | 13 | MIT | 2023-03-28T16:48:18 | 2015-06-30T14:27:45 | HTML | UTF-8 | R | false | false | 17,922 | r | consume.R | #' Discover web service schema
#'
#' Discover the expected input to a web service specified by a web service ID ng the workspace ID and web service ID, information specific to the consumption functions
#'
#' @export
#'
#' @param helpURL URL of the help page of the web service
#' @param scheme the URI scheme
#' @param h... |
7b203dad15fe037c02306190bae3da6cd5ecc04f | 6788c0c20011fcb12d1bf23bc78e0780105f8d0e | /scripts/io_import_dreamtk/class_Database_MySQL.R | 2b800982597f17a1f36dfff08c4d56fd44252b14 | [] | no_license | NongCT230/DTKv0.8.4 | 947f4ce3b811a9af74dab5a1e16ec516fd6052e7 | 6a48a9b2129d2f29683003debfc45d2ce8e28a0b | refs/heads/master | 2023-04-10T03:17:20.658580 | 2021-04-12T15:07:17 | 2021-04-12T15:07:17 | 357,235,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,427 | r | class_Database_MySQL.R |
# MySQL connector class ---------------------------------------------------
# v0.9
#requires R6 class, tidyverse, logging, DBI, RMySQL packages
#creates a mysql connection object
#wrapper around RMySQL/DBI interface
Class.Database.MySQL <- R6Class("Class.Database.MySQL",
lock_... |
9b68527924f6d66e4ee938d7acb40ce11c41cced | 37cc63b9708638db1fd1e01c0b3e52013654986c | /Transcript_Based/analysis/Brendan/Counts/featurecounts.R | ddca3f40c8aea835cd412260db3b288c16d1d2e0 | [] | no_license | brendan4/sravandevanathan | e7082bd5892ccc5cf679132aaa06c88abe4c17fc | 00c54737e09ea29b517a2d008a420748af43d9b7 | refs/heads/master | 2022-03-26T08:02:45.299082 | 2019-12-13T21:09:21 | 2019-12-13T21:09:21 | 170,389,554 | 0 | 0 | null | 2019-02-12T20:52:38 | 2019-02-12T20:52:37 | null | UTF-8 | R | false | false | 1,759 | r | featurecounts.R | library(Rsubread)
library(biomaRt)
main <- "/media/brendan/Elements/dba/DBA_121317"
setwd(main)
all.folders <- list.files()
bam.files <- c()
for(i in 1:length(all.folders)){
setwd(paste(main, all.folders[i],sep = "/"))
bam.files <- c(bam.files, paste(main, all.folders[i],list.files(pattern = ".bam$"), sep = "/"))
... |
70d11f257fb4cd603e0208762b6de467f73a4ec4 | 82fc793b8261ce7e68da739616089e1e5ae26562 | /samsungPriceDateSVM.R | 515d1aaa1ff55868c985d34e13b2f20341d0783b | [
"Apache-2.0"
] | permissive | cloud322/ML_R | 2a67d431410829eb2ad9d63a6531b83a4212ed46 | c78b743d516f503e44459bded29f79e84eddd3ac | refs/heads/master | 2021-04-09T13:46:11.196164 | 2018-04-10T00:58:24 | 2018-04-10T00:58:24 | 125,489,375 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,840 | r | samsungPriceDateSVM.R | # a0326<-read.csv('file:///C:/Users/DJA/Downloads/m_sam.csv', header = T, sep=',')
a0326<-read.csv('file:///C:/Users/DJA/Downloads/새 폴더/0327_ANSI.txt', header = F, sep=',')
a0326
head(a0326)
colnames(a0326)<-c('a','stock','date','price','pr_ch','vol_ch','vol')
install.packages("dplyr")
library(dplyr)
sam... |
cecc0d78e766172ce93f955532ba5f74516c16f4 | ec7be542fd7b75e5741bbf5b0605f1e993d1733a | /R/stream_read_fastq.R | 9a5830221b49867c86cc235a2c40667be4a30ec3 | [] | no_license | czhu/R_nanopore | d2b67d50005ce7468b1da7fa13de6b93045e8954 | 4e13e92e104a5ba2c6a1c772f077ef15ea199193 | refs/heads/master | 2023-07-14T11:02:16.083619 | 2021-08-26T15:29:14 | 2021-08-26T15:29:14 | 98,747,970 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 448 | r | stream_read_fastq.R | ## the c stop working properly, i get a list
## for fastq file with less then 1M reads no problem
stream_read_fastq = function(infile, FUN=identity) {
# readFastq doesn't work
# message: line too long /Users/czhu/data/DCM/pore/analysis_201704/reads.fastq.gz:55069
fs= FastqStreamer(infile)
rv = FUN(yield... |
57d6c66035276d3cefc7cbdbef5b0e7788de0c1e | 80cee41ab69e6f3eee069027f0cd05e5216bef4d | /simulations/scripts/run_ncv_scan.r | 6ba76027ee194decb097990712f07e381ec559eb | [] | no_license | bbitarello/NCV | 64b037986250f96ce241ca0a6bcf0ebd9b38ec68 | 854ad80b7d0ef4ad0191a3f7243d95341ab6d7ac | refs/heads/master | 2021-06-03T19:01:17.762942 | 2016-08-18T04:59:37 | 2016-08-18T04:59:37 | 18,804,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,858 | r | run_ncv_scan.r | #!/usr/bin/r
## Cesare de Filippo, MPI-EVA
## 15-01-2014
## Last modified by Barbara Bitarello: 21.01.2014
## Run NCV:
## example command line:
##>run_ncv_scan.r INPUT 3000 1500 BED FDs chr21 scan1
## NOTE: that 'run_ncv_scan.r' should be executable. To do so do "chmod +x run_ncv_scan.r"
##example: chr21
#./run_ncv_s... |
f115aa5f267f25322c6fad3102b07c82f2614f11 | c603a83622aba33dfb82bd443a0e0cae386ef7af | /scripts/sv_lens.R | 1aa5f052e47d05ddcd96196c775ee396c495fdc5 | [] | no_license | ahmedelhosseiny/lied_egypt_genome | e6f66669e7d467a3f9078327b6ba978996ce0700 | e1647e396a46a6f3e538e488caf11a5f95d86fb1 | refs/heads/master | 2022-11-08T22:25:57.817282 | 2020-06-19T07:52:23 | 2020-06-19T07:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,183 | r | sv_lens.R | # Making boxplots for snp stat numbers
library("RColorBrewer")
# Getting input and output filenames
# ["insertions","deletions","inversions","duplications"],
# filter=["all","pass"])
fname_ins_all <- snakemake@input[[1]]
fname_ins_pass <- snakemake@input[[2]]
fname_del_all <- snakemake@input[[3]]
fname_del_pass <- sna... |
e134ac3db81e969456ca7b21a5924572304c4ac7 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/11194_0/rinput.R | e0e82d40cf7f40462b24a8f7cd84059c86099a36 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("11194_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="11194_0_unrooted.txt") |
fb9de4c7a783ab82892b034174fbd96b8e11baf5 | 9ede4232ad524cc08d8f76751a8856c425a18bee | /man/recompute_elpd_table.Rd | 3dbebae45a44ccda89777d2cfe84d60af6eeebe5 | [] | no_license | CreRecombinase/cause | 139f41686619759bf1e72790ec693d6113a0b129 | 6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5 | refs/heads/master | 2022-06-09T16:51:03.534368 | 2021-11-30T19:00:46 | 2021-11-30T19:00:46 | 154,586,575 | 0 | 0 | null | 2019-07-12T16:21:58 | 2018-10-25T00:25:07 | R | UTF-8 | R | false | true | 457 | rd | recompute_elpd_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/in_sample_elpd_loo.R
\name{recompute_elpd_table}
\alias{recompute_elpd_table}
\title{Recompute elpd table for a CAUSE fit that is already computed}
\usage{
recompute_elpd_table(res)
}
\arguments{
\item{res}{A cause fit from running the cause ... |
e6df696787e1d64dabde87dfe3d10e08e8319e9d | cb2a3c65b4d4d7af977d0649db60362bf98e36bf | /code/Figure3.R | 28fb731ed808ebfc052059cd16f0f4eaecb84fa0 | [
"MIT"
] | permissive | BatadaLab/gdT_paper_analysis | 5fe8472c72f680fb6eb3bb6e09ed6c27c13ab05d | be76c820f47b826e5ae41952ceafc0628554c360 | refs/heads/master | 2023-01-19T06:35:19.220666 | 2020-12-01T12:44:53 | 2020-12-01T12:44:53 | 294,932,578 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,362 | r | Figure3.R | library(Seurat)
library(dplyr)
library(ggplot2)
library(ggsci)
library(gridExtra)
library(scID)
library(ggpubr)
library(plyr)
library(forcats)
library(easyGgplot2)
source("~/Google Drive/bin/batadalab_scrnaseq_utils.R")
setwd("gdT_paper_analysis/")
# -------------------------------------------------------
# Load data ... |
59a2e7b2cb843d7005163cde5cec8d3a3f0d0382 | f88192b3411a06f618d558479d15f17a03ab2ecf | /man/hello.Rd | 2b7768f413f32f9fc2ea5c461f365377eb224e93 | [] | no_license | Ing-Stat/ovn | f2dc159186228bc126377543dfa8bcad5923edb0 | 0886b1a0b7063a2a8c21cb17d676ecd17f5b2454 | refs/heads/main | 2023-07-17T08:38:18.121883 | 2021-09-05T18:40:44 | 2021-09-05T18:40:44 | 403,376,370 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 130 | rd | hello.Rd | \name{hello}
\alias{hello}
\title{Hello, Ovning!}
\usage{
hello()
}
\description{
Prints 'Hello, Ovning!'.
}
\examples{
hello()
}
|
94bc2b8fe78cb80825a8f0fef7db32898faab114 | 29585dff702209dd446c0ab52ceea046c58e384e | /crossReg/R/DeltaC.R | 50dbf4a84e5426e77a99d22936ce6853f589603d | [] | 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 | 820 | r | DeltaC.R | DeltaC <-
function (Data,order) {
lmResults <- lm(y ~ x1 + x2 + x1*x2,data=Data) # fit lm()
# extract coefficients
coefficient <- summary(lmResults)$coefficients
# extract variance covariance matrix
covariance <- vcov(lmResults)
B2 <- coefficient[3,1] # estimation of B2
B3 <- coefficient[4,1] # estimation of ... |
c8bc39ad325095763d907ccdd76c61a5d98b7783 | 09c2196beab7422bda070c28afd41dec2a9d094d | /R/DataLoadingSaving.R | ec90b17ac0deeb24ac9c9390a739eb64e98c80a9 | [
"Apache-2.0"
] | permissive | sverchkov/SelfControlledCaseSeries | c37964ba69f675da217fd93c8837487ed088b529 | 920493cac367e1f8812bafd0a72f777d53f79e41 | refs/heads/master | 2020-03-28T02:31:13.046277 | 2018-03-19T16:43:42 | 2018-03-19T16:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,332 | r | DataLoadingSaving.R | # @file DataLoadingSaving.R
#
# Copyright 2018 Observational Health Data Sciences and Informatics
#
# This file is part of SelfControlledCaseSeries
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Licens... |
9acc52bfaf58e7d7c4aa85f39e84b6189e3b6a9d | a2b3f5da696bb6898972d1367e1fad53ec12c235 | /cachematrix.R | e3d02fcc6e0351aa4a149ab995e99b2aa8f6df77 | [] | no_license | giridharnandigam/ProgrammingAssignment2 | abb403569ad538f49e0cbb9ee9cc5c25c781e7db | 8b65bca804004c20294f26c58794714d2d862c7f | refs/heads/master | 2021-01-20T14:22:30.461843 | 2017-05-08T06:49:19 | 2017-05-08T06:49:19 | 90,594,582 | 0 | 0 | null | 2017-05-08T06:38:30 | 2017-05-08T06:38:29 | null | UTF-8 | R | false | false | 1,836 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix())
{
## set inverse matrix variable to null
m <- NULL
## resetting everything to null
set <- function(y)
{
x <<- y
... |
ada34d3ce3400497ee7eecb2fd7effc4d9f7e934 | ae4e0c00e14bea5574754c7ca3de8aa609343fc1 | /roa/R/uv.outlier.R | 1c7bf4a8df954d3e479720ae1a8acdcbf03aefbd | [] | no_license | kylieainslie/GetOut | 88337369560cecaf86b2293ac10ade548fded9ce | 653dbc2d1da2aeef6dac61fac605fcea5881dd37 | refs/heads/master | 2021-01-10T19:32:17.128768 | 2014-11-21T16:09:26 | 2014-11-21T16:09:26 | 26,873,996 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,594 | r | uv.outlier.R | #####################################
### Single Group Outlier Analysis ###
#####################################
uv.outlier<-function(data, annotation=NULL,annID, annName,cpmtype="Mann-Whitney",
save.path=NULL,diff=TRUE,num.id=TRUE,cut=0.85,common.genes=FALSE,under=FALSE,p=NULL){
#check for mi... |
45a4983ebeda9a924dedf350d2ddeef0fe8aa9b1 | 36853a83c9c333787682d1c1d585a2bb08c3c725 | /file_functions.R | b0358fca09c59b6af225953809a9568d1ca5d4aa | [] | no_license | muschellij2/CT_Pipeline | ea075a40ac0799b7a9ea2efe3b60f16e70a346cc | 9bf95e6f62bfd4d61a1084ed66d2af4155641dc2 | refs/heads/master | 2021-01-22T02:39:51.559886 | 2019-09-04T19:48:00 | 2019-09-04T19:48:00 | 11,985,496 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 218 | r | file_functions.R | ## get the basename for a file, for example getBase("blah.nii.gz", 2) = "blah"
getBase <- function(x, ind=1){
sapply(strsplit(x, split="\\."), function(xx)
paste(xx[1:(length(xx)-ind)], collapse=".", sep=""))
}
|
c4734b99aba1d232336690e5e62459e1ab70e219 | a6a033d0a8aee92bd6dac3f13c32946d1fe5a916 | /plot_all.R | 0e32220488e86abeae18c2adbb4596f69afb210c | [] | no_license | cobeylab/ccm-letter | 1a1001d99eb5562d4cd5abc382f27525e680bab6 | c032826fd391cfaf95cf54fe1c466fcaf860eef1 | refs/heads/master | 2021-01-12T03:41:55.987771 | 2017-01-09T22:53:00 | 2017-01-09T22:53:00 | 78,253,724 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,186 | r | plot_all.R | #!/usr/bin/env Rscript
library(RSQLite)
library(ggplot2)
main <- function() {
script_dir <- get_script_dir()
db <- dbConnect(SQLite(), file.path(script_dir, 'output_db_all.sqlite'))
plot_model_summary(script_dir, db)
for(use_splines in c(FALSE, TRUE)) {
for(remove_zeros in c(FALSE, T... |
9c64c66863680fb3f15610012c3d6fe217098a47 | d50bbe2ef197a5275477667ff88cc4562fc84639 | /man/ccmean.Rd | db773c5434cdb232fd2c6a6a0d1e7a3ca47d52e6 | [
"MIT"
] | permissive | LarsHernandez/ccostr | cb1960a068aa2ab89c366ef19925c35691db8633 | 7c61f941f9202df12438baa0e977ee1bc197f91a | refs/heads/master | 2020-07-04T15:11:06.478697 | 2019-08-14T09:54:00 | 2019-08-14T09:54:00 | 202,321,578 | 0 | 0 | NOASSERTION | 2019-08-14T09:44:50 | 2019-08-14T09:44:49 | null | UTF-8 | R | false | true | 1,622 | rd | ccmean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ccmean.R
\name{ccmean}
\alias{ccmean}
\title{Calculates estimates of the mean cost with censored data}
\usage{
ccmean(x, L = max(x$surv), addInterPol = 0)
}
\arguments{
\item{x}{A dataframe with columns: id, cost, delta and surv. If Cost hist... |
caba3775524593224811001e5c8489a84481e10e | c3852480b1ccf9c53cc9777d9d6227b33881556a | /R/runDR.R | ec70cbfea8386caaa39d63cc51117b543616062b | [] | no_license | HelenaLC/CATALYST | f4506a621f81fef74911661d02330253d37aee9e | f3e294ed9a4d3f300feb994bb381df6a6b2c8309 | refs/heads/main | 2023-08-23T13:30:52.504230 | 2023-04-25T14:53:40 | 2023-04-25T14:53:40 | 75,288,871 | 60 | 34 | null | 2022-05-12T08:25:28 | 2016-12-01T12:06:28 | R | UTF-8 | R | false | false | 3,349 | r | runDR.R | #' @rdname runDR
#' @title Dimension reduction
#'
#' @description Wrapper around dimension reduction methods available
#' through \code{scater}, with optional subsampling of cells per each sample.
#'
#' @param x a \code{\link[SingleCellExperiment]{SingleCellExperiment}}.
#' @param dr character string specifying which... |
8a09bf1427fb89b88e1e742a6a1279dd100bfda9 | 2ce7630346bd7320c48d641ae9b9cd14c06108d3 | /man/writeSLI.Rd | 6c235753745e14470087eeaa803b81b2be06e159 | [] | no_license | bleutner/RStoolbox | 2cda3b6b37e51d06d176e2bc21005ea2e3e026c9 | ec6cac232d5e933d649b9ba52dfd5398ea63220e | refs/heads/master | 2023-04-09T17:06:00.653435 | 2022-04-01T19:54:52 | 2022-04-01T19:54:52 | 19,460,005 | 244 | 85 | null | 2023-03-29T08:47:53 | 2014-05-05T15:08:49 | R | UTF-8 | R | false | true | 1,654 | rd | writeSLI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/readSLI.R
\name{writeSLI}
\alias{writeSLI}
\title{Write ENVI spectral libraries}
\usage{
writeSLI(
x,
path,
wavl.units = "Micrometers",
scaleF = 1,
mode = "bin",
endian = .Platform$endian
)
}
\arguments{
\item{x}{d... |
94cb27ec824675543c6dfb95fd31b3f263858919 | 132c868650be85a4eaf605832e6cd57d9aa8faf3 | /man/plot_time_to_removal_by_spvl.Rd | d71ffc4784db032270b4dca8175e644992e89e2c | [] | no_license | EvoNetHIV/RoleSPVL | 9797fe146afa1e750ef1cfdaf231b62e0f19e848 | 113b55fedbdd2ac6627b751df3e102e801e36c5c | refs/heads/master | 2021-09-14T17:46:30.726252 | 2018-05-16T22:16:13 | 2018-05-16T22:16:13 | 103,449,083 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 442 | rd | plot_time_to_removal_by_spvl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_time_to_removal_spvl.R
\name{plot_time_to_removal_by_spvl}
\alias{plot_time_to_removal_by_spvl}
\title{Title}
\usage{
plot_time_to_removal_by_spvl(model, type = "aids")
}
\arguments{
\item{x}{A number.}
\item{y}{A number.}
}
\value{
ret... |
c9671d07339fc7a9c6781ca6f99f0d8d73aad659 | 4b56315bc1671b8e25fce3c5293f270034a3f88c | /scripts/demographic/traumaEnvPred_plot.R | 2b08e6d20015ae948b648f229b19012e85a4307b | [] | no_license | PennBBL/pncLongitudinalPsychosis | fd8895b94bcd0c4910dd5a48019e7d2021993d3a | 006364626ccbddac6197a0e7c5cbe04215601e33 | refs/heads/master | 2023-05-27T00:16:35.264690 | 2021-06-18T13:55:49 | 2021-06-18T13:55:49 | 172,975,758 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,541 | r | traumaEnvPred_plot.R | ### This script runs logistic regressions to predict final PS status using baseline
### number of types of trauma and neighborhood environment.
### Creates Figure 4 and Table 3 in the longitudinal clinical paper.
###
### Ellyn Butler
### September 8, 2020 - September 11, 2020 (changed to envSES on November 30, 2020)
##... |
de8b7a0e7460dab4874a44fc214a2c50b0b5b8fe | 92a0b69e95169c89ec0af530ed43a05af7134d45 | /R/get_project_path.R | de06a1ef5cbad3b0a19c0bdc0af45fa85ecc2446 | [] | no_license | gelfondjal/IT2 | 55185017b1b34849ac1010ea26afb6987471e62b | ee05e227403913e11bf16651658319c70c509481 | refs/heads/master | 2021-01-10T18:46:17.062432 | 2016-01-20T17:51:29 | 2016-01-20T17:51:29 | 21,449,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | r | get_project_path.R | #' Given Project name, Return project directory
#' @param project_name is string with project name
#' @details Reads "~/ProjectPaths/projectid_2_diretory.csv" into dataframe
#' @return string containing project directory
#' @export
get.project.path <- function(project_name=NULL){
all.projects <- read.csv(file... |
5c2e9c8381040fbc3013dcad64e7b1d65fd06835 | bc5f18c64d9e46db53126976834f617054edb35e | /R/mgvar.R | f2c533017a2dbbbbacf9dbce0134549f590cae04 | [] | no_license | cran/WRS2 | d7a6e48fca12e5c892b1c1ecc4ae1a151b485f2c | da65525b80d08bcdaa5d155e5db6e4670b615788 | refs/heads/master | 2022-06-30T08:31:33.772817 | 2022-06-10T15:33:29 | 2022-06-10T15:33:29 | 25,037,146 | 1 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,012 | r | mgvar.R | mgvar<-function(m,se=FALSE,op=0,cov.fun=covmve,SEED=TRUE){
#
# Find the center of a scatterplot, add point that
# increases the generalized variance by smallest amount
# continue for all points
# return the generalized variance
# values corresponding to each point.
# The central values and point(s) closest to it get N... |
1425f587e2a53e22d4246113e941a2b5e5acfde4 | 8cc49a6c20dc68fbf70ffdc166cae5f5a5069afa | /cachematrix.R | 9caf9b562616ffd894292120415be8c22aa1eaf8 | [] | no_license | sigsmari/ProgrammingAssignment2 | 5989f5c096365b117e190c2cf0f69b555666fe19 | e0a78a77a55cd8c5fbc1cac2c353bed1a5e5f51a | refs/heads/master | 2021-01-18T10:45:46.692674 | 2015-02-18T20:28:30 | 2015-02-18T20:28:30 | 30,980,496 | 0 | 0 | null | 2015-02-18T18:45:37 | 2015-02-18T18:45:37 | null | UTF-8 | R | false | false | 730 | r | cachematrix.R | ## Creates a matrix object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
i <- NULL
set <- function(y) {
x <<- y
i <<- NULL
}
get <- function() x
set_inv <- function(inv) i <<- inv
get_inv <- function() i
list(set = set, get = get,
set_inv = set_inv,
get_inv = get_i... |
0ae438a941f1302ceaaf45ae97f70aa93250403e | 00bf0bbb222c10aae4625b0ed5046d4b8b0e7c37 | /refm/api/src/bigdecimal/math.rd | 3c645bf23759eeccaaae986787eb998409479db3 | [] | no_license | foomin10/doctree | fe6a7097d544104fe71678121e6764d36a4b717a | a95789a60802c8f932c0a3e9ea21a4fc2058beb8 | refs/heads/master | 2023-02-18T20:00:32.001583 | 2023-02-05T00:49:18 | 2023-02-05T00:49:18 | 32,222,138 | 1 | 0 | null | 2015-03-14T16:54:52 | 2015-03-14T16:54:51 | null | UTF-8 | R | false | false | 3,827 | rd | math.rd |
BigDecimalを使った数学的な機能を提供します。
以下の計算が行えます。
* sqrt(x, prec)
* sin (x, prec)
* cos (x, prec)
* atan(x, prec)
* PI (prec)
* E (prec)
引数:
: x
計算対象の BigDecimal オブジェクト。
: prec
計算結果の精度。
#@samplecode 例
require "bigdecimal"
require "bigdecimal/math"
include BigMath
a = BigDecimal((PI(100)/2).to_s)
puts sin(... |
81f270de2e964fb42c75f226112b3610bb8fb7ee | c820cd1cbfc72cfa539e94fe18e5ed24b909e89b | /percepcao-social/socialperception.R | 038852ae9a0316fd5d4dbbf7dc7968bd7f9e2426 | [] | no_license | crepeia/ead-senad | aad88adfe387e40d8b2049fe29c051706eb7448f | 12071f7e55efd90b5b64d1da8f0a4888dfb3c95d | refs/heads/master | 2021-11-24T16:06:02.848166 | 2021-11-18T12:49:01 | 2021-11-18T12:49:01 | 22,083,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,500 | r | socialperception.R | # Libraries ----
library(car) # Function Recode
library(psych) # Function Describe
library(mirt) # Function bfactor - mirt IRT
# Import data ----
# Questions
questions <- read.csv("percepcaosocial_questions.csv")
questionsLabels <- as.vector(questions[1:39,]); rm(questions)
# Analysis ----
## Import dataframe
... |
047fa45b51cccc7bfb0af6106336ae3b06f269bc | 1cfc36a4cfa8c2f7a6c597157b5a21a53ba53b09 | /selection.R | 1a99703cd470065a238d3ac6429c2c9f0a0a2f5f | [] | no_license | Sarnapa/KGA_Clustering | aca7b971dbf7df9341abad80b653e59ed5d7403b | 67094e5f9a3afca8b107f9f4063a4287573a6052 | refs/heads/master | 2020-05-30T17:12:51.577431 | 2019-06-08T11:03:27 | 2019-06-08T11:03:27 | 189,866,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 284 | r | selection.R | # Selection process
selection <- function(population, fitness, n){
order <- order(fitness, decreasing = TRUE)
fitness <- fitness[order]
population <- population[order]
fitness <- fitness[1:n]
population <- population[1:n]
list(population = population, fitness = fitness)
} |
5376b407e5fa4fdb2de727a81feab6b72a9bde37 | 73be3ad70da48645e5826425a64ff9e4c5ebae79 | /plot1.R | c359e37745b9b42f9b5b7e465df27092f56c558f | [] | no_license | zbn1827/ExData_Plotting1 | b712e0a0768751a84d1295beedb98fdbe6e94b9c | 7c375a2d5bf39f809f95d1cfdd01cf6cd227997a | refs/heads/master | 2021-01-18T17:08:48.640057 | 2017-04-03T03:13:41 | 2017-04-03T03:13:41 | 86,788,574 | 0 | 0 | null | 2017-03-31T07:02:35 | 2017-03-31T07:02:35 | null | UTF-8 | R | false | false | 1,628 | r | plot1.R | #load library lubridate for easier date convertion
library(lubridate)
#download the zip file to local directory
download.file(url = "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", destfile = "data.zip")
#unzip the file
unzip("data.zip")
#read the txt file by using th... |
698d936e6532a74f4df7705e86b6684565da9979 | a62bb3501fc7fe06972ef35ecd806eb4f3bf4a46 | /Data/DataAlreadyUploadedToEDI/EDIProductionFiles/MakeEMLZooplankton/MakeEMLZooplankton.R | 39e0de91ab99bd7d527687eda9ceaf8f3c016488 | [] | no_license | arpitadas05/Reservoirs | 5014a4e3b6583bffce6563817ddf670affe572be | f5982948aea4520282b389ee0f402dc81db349fa | refs/heads/master | 2022-12-25T17:57:26.712700 | 2020-09-29T14:51:07 | 2020-09-29T14:51:07 | 299,657,782 | 0 | 0 | null | 2020-09-29T15:23:30 | 2020-09-29T15:23:29 | null | UTF-8 | R | false | false | 1,886 | r | MakeEMLZooplankton.R | #Make Zooplankton EML
#Cayelan Carey, based on EDI workshop 24 May 2018
# Install devtools
install.packages("devtools")
# Load devtools
library(devtools)
# Install and load EMLassemblyline
install_github("EDIorg/EMLassemblyline")
library(EMLassemblyline)
setwd("~/Dropbox/ComputerFiles/Virginia_Tech/Falling Creek/D... |
aa6cd898abab69042b76739cbfad5719971e6782 | 0f8b43d99ce585fc72baf4fa838d94de5ea134b5 | /man/annotateBinsFromGRanges.Rd | 06885d28eb69c8f1186d502680ff805be21f1cfa | [] | no_license | mverbeni/TADdistR | a4b977e076af47e6848fe70ab7f7b6a32c57bf31 | 61f145cea8f7245101a2955df9add788d256a002 | refs/heads/master | 2020-04-05T18:52:39.209596 | 2018-11-11T19:59:58 | 2018-11-11T19:59:58 | 157,115,783 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 485 | rd | annotateBinsFromGRanges.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/annotation.R
\name{annotateBinsFromGRanges}
\alias{annotateBinsFromGRanges}
\title{Annotate bins per category}
\usage{
annotateBinsFromGRanges(bins, annotations)
}
\arguments{
\item{bins}{GRanges object with a disjoint partition of the genome... |
b5883420b8a8472b1843d36b63ea4f59cf1299e0 | 16380ddc05e6e9f64290be5727b8b63b74b7e975 | /ui.R | ef0c66da216746ea0ff0d03df050756abcab31e7 | [] | no_license | vlorman/CRB_vis | 3ece4a3db7dbe42b232809153980c9452e28bedb | 1a49d44e623a886e37f0ace7e0a69ecb0bfee5dd | refs/heads/main | 2023-04-08T17:12:44.864773 | 2021-04-15T00:42:07 | 2021-04-15T00:42:07 | 358,078,369 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,846 | r | ui.R | library(datasets)
library(shiny)
library(dplyr)
# Use a fluid Bootstrap layout
fluidPage(
# Give the page a title
titlePanel("What happens to complains made against the Rochester Police Department?"),
# Generate a row with a sidebar
sidebarLayout(
# Define the sidebar with one input
... |
7627295af0dc74681eed310ba0d817ce4e621494 | cc3028dc544757ac97f0f381280c517e0408b806 | /Models/BiomeBGC-MUSO/RMuso/man/getyearlymax.Rd | 68f01f34c4beda96897bc85c8a8dd31568b77956 | [] | no_license | COST-FP1304-PROFOUND/ProfoundProducts | 06eb746db1dd7b58ae6de3532d3dbdc31c50acdd | 993079fa9aaf285b5c9f8b9ef409c9617e7fc0a7 | refs/heads/master | 2022-01-30T19:15:11.497485 | 2022-01-09T17:04:32 | 2022-01-09T17:04:32 | 80,059,532 | 4 | 2 | null | 2018-04-04T15:40:59 | 2017-01-25T21:26:42 | Fortran | UTF-8 | R | false | false | 480 | rd | getyearlymax.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/other_usefull_functions.R
\name{getyearlymax}
\alias{getyearlymax}
\title{'Function for getting the maximum values of the years, from daily data}
\usage{
getyearlymax(daily_observations)
}
\arguments{
\item{A}{vector of the daily obse... |
39b0607050ae73f97dbc35eeaf0cd229051aa995 | fd5f74329a767cc073514104ff4eedd24caa20d2 | /r_code/datavis.R | 6bb6727d235bdc574babf10dbf5f5bf9f8250950 | [] | no_license | zembrzuski/envirocar | 35d1cc86e16eb9d9d84e48b5ac6a96b3125071d7 | 40e41efcb68c23904d2985af68916c3d5c977ffc | refs/heads/master | 2021-01-20T00:33:44.215278 | 2017-07-09T23:34:04 | 2017-07-09T23:34:04 | 89,148,986 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 397 | r | datavis.R | library(ggplot2)
library(corrgram)
mycsv <- read.csv('/home/nozes/labs/datavis-article/mycsv.csv', sep = ';', header=TRUE)
colnames(mycsv)
typeof(mycsv)
xoxo <-mycsv[,2:8]
m <- as.matrix(xoxo)
colnames(m)
rownames(m) <- colnames(m)
m
heatmap(as.matrix(m))
library(corrgram)
corrgram(mycsv, order=TRUE, lowe... |
cdc9c01de821a2d869c975138ee586e1dd45a074 | 932bf0b43c291671ff950ac986453aef9ca6af7f | /man/cpl_set_theme.Rd | d5f1a09fccfd443f2bed9f907389c455f9ef0cd0 | [] | no_license | californiapolicylab/cplthemes | 2794cdc438c276fb22c20c69e190e770e77d462b | cb922951976e4867bdfa3ce81e774c9ab767e0f7 | refs/heads/main | 2023-07-13T01:01:05.663956 | 2021-08-12T16:10:30 | 2021-08-12T16:10:30 | 384,549,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 613 | rd | cpl_set_theme.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cpl_set_theme.R
\name{cpl_set_theme}
\alias{cpl_set_theme}
\title{Makes the custom CPL theme the default theme for ggplot}
\usage{
cpl_set_theme(
color_schema = "brief",
base_size = 12,
base_family = "Arial",
base_line_size = 0.5,
b... |
167ce69d060c49e23756eeede0ba1705874811f3 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googledeploymentmanageralpha.auto/man/TemplateContents.Rd | 21c9a6fab641526e7089901fd9aeb959b60b2e10 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 772 | rd | TemplateContents.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deploymentmanager_objects.R
\name{TemplateContents}
\alias{TemplateContents}
\title{TemplateContents Object}
\usage{
TemplateContents(imports = NULL, interpreter = NULL, schema = NULL,
template = NULL)
}
\arguments{
\item{imports}{Import fi... |
b80c4a26914f24ec3f9f2b108772aecea6307c62 | 77157987168fc6a0827df2ecdd55104813be77b1 | /COMPoissonReg/inst/testfiles/qzicmp_cpp/libFuzzer_qzicmp_cpp/qzicmp_cpp_valgrind_files/1612729201-test.R | 7531ab43537999259bb8adda6f7b70be4f63b7a2 | [] | 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 | 831 | r | 1612729201-test.R | testlist <- list(lambda = numeric(0), logq = c(9.34531021619517e-307, 3.67142983950248e+228, 3.22221023302038e-115, 2.46003930923884e+198, -3.40300006196655e-161, -3.40300006195676e-161, -5.37545598107191e+306, 2.25234192049871e-309, NaN, NaN, 9.3470485446822e-307, 1.13195565743196e-72, 4.95400018337535e-317, 2.848... |
2b0d355ab3bcd87e7d5317ce672972497047f150 | d5c01c52117d24cea10594e3a97bf66392abb90b | /RScriptCourse5.R | 8d16d02f4010d378222afb449fe2d1fab1b925ac | [] | no_license | kdejonge/RepData_PeerAssessment1 | 8f4482a87dd5fc419d2d28831eb5e87e336243bc | a0f19118bc19bc3eed1370e002133f1763eb1997 | refs/heads/master | 2020-03-18T09:22:00.825244 | 2018-05-23T14:46:02 | 2018-05-23T14:46:02 | 134,559,432 | 0 | 0 | null | 2018-05-23T11:26:37 | 2018-05-23T11:26:36 | null | UTF-8 | R | false | false | 2,612 | r | RScriptCourse5.R | # Set workspace and load data
setwd("D:/OneDrive - Esri Nederland/Kristin de Jonge/Studie/DataScience/Data Science Specialization/Course5")
data <- read.csv("activity.csv")
# Check data
head(data)
summary(data)
# Complete data
mydata <- as.data.frame(data[complete.cases(data), ])
summary(mydata)
# Tota... |
e39ac9d08ac595b6f519db9d717245e0a8f85813 | 8c382ab97d22269542f5f0d1cee4781dd306abde | /master-thesis/codes/CodonTable.R | 24e91019b0f28ba93da9d38bc4f5b11e25d313c4 | [] | no_license | fredysiegrist/thesis | 2bc4c13d5e40888ad7255532a9992c299663c26b | e2bed48aacfd9beb8c808711f18c52f0d94e2515 | refs/heads/master | 2021-01-09T20:11:33.130444 | 2016-08-18T15:15:41 | 2016-08-18T15:15:41 | 65,204,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 873 | r | CodonTable.R | require(statanacoseq)
require(seqinr)
verified <- mylist("/windows/R/Round3.all.maker.transcripts.verified.fasta", "/windows/R/Round3.all.maker.proteins.verified.fasta", whatout=1)
# the process is killed when using to many sequences, so it is divided in four parts and added together later
tabl <- uco(verified[[1]]... |
5300ed431efe67966d54148a350a8a8258d0055e | 5138db926647742e4b39a6b58f8c8a992b2578c3 | /simulation/test-ranking.R | 345af7fe1af2a4032194a51fd4aa63283d39a3bc | [] | no_license | helenecharlotte/grfCausalSearch | 9863f4a1009832b9b8f1aa03bb2f2f9e2c820e5f | e14badd8f15dfc4e1067b2198de0f945b5cb3fd8 | refs/heads/master | 2023-01-20T04:59:30.175316 | 2023-01-10T10:55:42 | 2023-01-10T10:55:42 | 217,540,473 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,588 | r | test-ranking.R | try(setwd("~/research/SoftWare/grfCausalSearch/"),silent=TRUE)
try(setwd("/maps/projects/biostat01/people/grb615/research/SoftWare/grfCausalSearch"),silent=TRUE)
library(targets)
## e <- tar_read(ESTIMATE_ATE)
## e[,n:=factor(n,levels=c("500","1000","2000","5000"),labels=c("500","1000","2000","5000"))]
## e[,net:=facto... |
139741a5dc3e9662ad2f6cec77ca86fd4033f50a | 09b7ed67240880a82e7da204914699d416f45089 | /plot3.R | 9c8f2f137881d24c0b44abaca9b4ec5bae982bd3 | [] | no_license | lmorenon/ExData_Plotting1 | aaa5df5272c598a556d1109d605823727364e9e0 | 212e09e0432d6938c6b822eb31daaa4d32d2bc65 | refs/heads/master | 2022-11-19T23:20:23.607399 | 2020-07-22T03:18:12 | 2020-07-22T03:18:12 | 281,473,939 | 0 | 0 | null | 2020-07-21T18:26:45 | 2020-07-21T18:26:44 | null | UTF-8 | R | false | false | 1,413 | r | plot3.R | ###Course: Exploratory Data Analysis (Coursera) ###
###Project 1#######
### Made by Leonardo Moreno ####
## In this script i will try to reconstruct the graphics detailed in the asignment
## Graph 3
## Load the dataset
library(dplyr)
library(lubridate)
library(readr)
library(zoo)
Sys.setlocale("LC_ALL","English")
S... |
8e906bb876789ab50cb73bdf02f6a2064d2aff35 | 576d9ea86b038b70153d39a0332bcf0ff065d93b | /local_example.R | c99b3b9aaca765c0e492a469176da4d6ac639046 | [
"MIT"
] | permissive | Winston-Gong/test_for_containment_release | 038ec1cd8f3cca46734e4ca02139bc14138e3d6b | b10e4c996b5f3c04a016505803759a1fbadd647a | refs/heads/main | 2023-03-27T22:19:57.012148 | 2021-03-25T07:34:14 | 2021-03-25T07:34:14 | 346,427,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,682 | r | local_example.R | code_version<-"Multisetting_20200519"
############################################
# change following parameters for different setting and social distancing
setting <- 2 # rural simulation; 2 for urban, 3 for slum
country_id <- 1 # we use Uganda demographic for demonstration
social_distancing_flg <- 1 # no social dist... |
0771513bff8db5d1b7fb58f8ad8c1eb793c094d0 | 450f18a3d54568ffe1cddf70e6c28ce6ab06868d | /scRNA-seq/pooled_data/All/do_randomForest.r | 37eb9067089d615ca1c8a2548a5a25024b6f31c8 | [
"Apache-2.0"
] | permissive | shunsunsun/GeACT | a96639943d66d6d830430e31ee5a5d2162008a5e | 2bf8db3ac855f8b3bf14b757520655121b5198c7 | refs/heads/master | 2023-06-06T15:26:50.654196 | 2021-06-24T08:09:40 | 2021-06-24T08:09:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,304 | r | do_randomForest.r | # random forest analysis
setwd("~/lustre/06-Human_cell_atlas/pooled_data/All/")
suppressMessages({
library("arrow")
library("randomForest")
library("ggplot2")
library("cowplot")
})
#source("../../scripts/cluster_tools.r")
samplingPos <- "."
OUT <- paste0("03-expression/merged/randomForest/", samplingPos)
dir.... |
494570ebd81d3a1879721bf00900fa877c0adc3b | dc66fe1b9e4c21615711fc5513ebbf954f959da7 | /DataTreesV2.R | 03c9e168f65c24e26b89c43851fa1d920c26005d | [] | no_license | lyonslj/CTS | faaf1e7a77fcbca53e549c7ed064849297d5fbe7 | 79991cf56d59f0ec2efcc3dc0a30e619b1e2ca88 | refs/heads/master | 2021-01-19T10:14:25.418036 | 2020-11-12T07:29:47 | 2020-11-12T07:29:47 | 82,169,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,793 | r | DataTreesV2.R | DataTree <- function(PbsSvc) {
library(data.tree)
PBS <- Node$new("Parent Business Service")
CBS <- PBS$AddChild("Child Business Service")
PTS <- CBS$AddChild("Parent Technical Service")
CTS <- PTS$AddChild("Child Technical Service")
Application <- CTS$AddChild("Application")
#print(PBS)
##
library(treemap)
library(re... |
8161765fe4725d68ae807a99dfb8893a18495a34 | 7c28c847f5f7f88c0573af1f4b7ff53899ada816 | /cachematrix.R | 8c4779f68bec75d7d1a167b671b132a366395ff5 | [] | no_license | pagirtas/ProgrammingAssignment2 | 6989586732b53fcc16b6a944a26a9044a5760237 | fd4c2ffa5de745a126dcd0b84b13451c6dda2af6 | refs/heads/master | 2020-12-03T08:00:13.440959 | 2015-12-27T14:15:01 | 2015-12-27T14:15:01 | 48,627,904 | 0 | 0 | null | 2015-12-27T00:33:59 | 2015-12-27T00:33:59 | null | UTF-8 | R | false | false | 1,569 | r | cachematrix.R | ## Functions for ProgrammingAssignment2:
## Framework for caching the computed inverse of a matrix so that it does
## not have to be computed again.
## makeCacheMatrix: creates a special matrix object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
x_inv <- NULL
set <- function... |
9209127c1c3bccb635a6a41e80bfe2894e58e98d | 9d3a9cf98ba20b66e91be4629e8d852d22c728c2 | /figures/figure_3.R | 0e386a8c4daefb5cf0fb0a3e2687704b12929617 | [
"MIT"
] | permissive | rmccoy7541/aneuploidy-gwas | 2162ff95d3be6f07365f6bad39df6b52618c6cae | 2e0e96de42fc1f4a6fb918a541f74dd05e755e5c | refs/heads/master | 2021-01-01T18:48:25.374418 | 2015-04-19T21:22:07 | 2015-04-19T21:22:07 | 33,620,273 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,359 | r | figure_3.R | #################################################
# File: figure_3.R
#################################################
# Author: Rajiv McCoy
# The purpose of this figure is to describe
# various aspects of the effect of genotype at
# the associated locus on various phenotypes
# related to aneuploidy. These figures r... |
aa4db66ca9fca42a3b276c7bd8abf84af1240c31 | 021b4f4af578b0fd5edf16361d5e99d3b5f990fd | /Plot1.R | ef1910cdcf3ff22d7096c9ceb192844baed6767b | [] | no_license | lucita1981/Exploratory-and-Data-Analysis-Course | cd32c7b1c114dc809c5c9695f1524c78fbcb401c | ac826fc869c03636112c8afafe458d00fc48b951 | refs/heads/master | 2021-04-09T13:24:40.418183 | 2018-03-17T04:05:40 | 2018-03-17T04:05:40 | 125,583,587 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 715 | r | Plot1.R | ## Downloading & Unzip
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
download.file(fileUrl, destfile="./data/Data.zip")
unzip(zipfile="./data/Data.zip",exdir="./data")
## Reading Files
if(!exists("NEI")){
NEI <- readRDS("./data/summar... |
362a65875b3eea2a772bc4edbfb2cc5d91169579 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_PenmanMonteith/libFuzzer_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1612736691-test.R | cc8a5f9c25f1793fc728c57a00f4e802c8aba0db | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 497 | r | 1612736691-test.R | testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = numeric(0), rs = numeric(0), temp = c(NaN, NaN, 2.34067609905209e-306, 1.32498004728931e+213, -5.14674537495229e+291, -36711776.0230951, 1.97523508538512e+289, 9.88817898942117e+58, 5.14276508926819e+25, NaN... |
b9a01264ac6810a232435f867f419f4dd8da739c | b547d1e9639299f2876c091145ab7fb65c140fd4 | /Simulate_SBM.R | 8b90c97187d1a102593aa5fe882808c7f6751587 | [] | no_license | dankessler/graphclass | 0fdfa7c696a8b3961d7831437d338b9b011db7bf | 7571fb21d38a89a4563b84c1a8423a148cee45eb | refs/heads/master | 2021-01-16T20:32:21.788280 | 2016-03-30T14:50:03 | 2016-03-30T14:50:03 | 52,468,871 | 0 | 0 | null | 2016-02-24T19:32:26 | 2016-02-24T19:32:26 | null | UTF-8 | R | false | false | 3,232 | r | Simulate_SBM.R | # Simulate random networks
sbm <- function(p,q, K, nk) {
Psi = (p-q)*diag(K) + q
A = kronecker(Psi,matrix(rep(1,(nk)^2),nrow = nk))
Aobs = apply(A,MARGIN = c(1,2),function(u) rbinom(1,1,prob = u))
Aobs[lower.tri(Aobs)] = 0
Aobs = Aobs + t(Aobs)
diag(Aobs) = 0
Degree = apply(Aobs,1, sum)
L = d... |
eafa1be9f1ae5549107b65a44c24319218f22dad | b8fa00b408af080b5e25363c7fdde05e5d869be1 | /Task3_0867117/exercise_9.r | 8770870ef05102164193e4721f3b4c1c51c2cc7b | [] | no_license | anurag199/r-studio | bc89f0c18a8d44164cb4ede8df79321ea965bc77 | e42909505fbe709f476081be97f89cc945a2745d | refs/heads/master | 2020-04-26T23:04:25.061780 | 2019-03-05T06:56:26 | 2019-03-05T06:56:26 | 173,891,322 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 578 | r | exercise_9.r | library(dplyr)
library(tidyverse)
library(stringr)
# loading the sales.txt file
sales <- read.csv("sales.txt", stringsAsFactors = FALSE, header = T, sep = "\n")
# cleaning the currency data and converting the Pounds into US dollars
sales %>% mutate(currency = str_extract(sales,"\\$|£") ) %>% mutate(raw_amount = s... |
9743b88c5c42150513a868f89c5c518699c6c352 | 8388dae510687c5dbffdfcad680b2a047e197ef1 | /man/fish_isolation_SS1.Rd | c24f008b97938ad7dec81d8363d77c1e14bdf520 | [
"MIT"
] | permissive | RodolfoPelinson/PredatorIsolationStochasticity | 18bb74ba0bbdbe973f2cb562defe60a7453aa084 | fde83564521815a850cab6a5c77036aad8e38335 | refs/heads/master | 2023-04-17T23:52:32.012403 | 2022-02-11T18:41:02 | 2022-02-11T18:41:02 | 304,638,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 448 | rd | fish_isolation_SS1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{fish_isolation_SS1}
\alias{fish_isolation_SS1}
\title{Isolation and fish treatment identities for the First survey}
\format{
Factor w/ 3 levels: "030","120","480", and 24 observations
}
\source{
{Experimental Data}... |
600bba79d91ec8172142fe4f616b373c8a6c950c | 454258ebbc883bb6338e11302b2a9dccfcb2dd16 | /man/create_play_spectrum_output.Rd | 9cf13542a4f23698ff7b9d90250e1f6307b713ce | [
"CC0-1.0"
] | permissive | Solanrewaju/datapackr | 22248534548af131bf7b46c3a4e7c0527d938f7d | fa5085a069bb55cb201ee9e900fa0ab3b8553cd1 | refs/heads/master | 2023-03-26T20:47:57.894480 | 2021-03-03T19:43:50 | 2021-03-03T19:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 915 | rd | create_play_spectrum_output.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/create_play_spectrum_output.R
\name{create_play_spectrum_output}
\alias{create_play_spectrum_output}
\title{Create fake Spectrum output for testing}
\usage{
create_play_spectrum_output(
country_uids,
cop_year,
output_folder = NULL,
d2... |
c401e9b35ee12f7526c291a26061b12e4b4f66f9 | b88f0857833f09fbde024bcd09e5236299b5f67f | /PrevisaoCustosAberturaFranquia/app.R | 45ad84a8ab23cfdde9dfbf1551fafe5e2c0c8f72 | [] | no_license | alexandre-trapp/PrevisaoCustosAberturaFranquiaComR | 74f4614467c935c710fe1c8fd335bb47ec7ef517 | 6c79e6b10b0710f3e088e9ba643c4be6a7315453 | refs/heads/master | 2021-01-04T00:48:25.662942 | 2020-02-13T17:21:05 | 2020-02-13T17:21:05 | 240,309,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,444 | r | app.R | library(shiny)
dados = read.csv("Modelos/slr12.csv", sep = ";")
modelo = lm(CusInic ~ FrqAnual, data=dados)
# UI do app pra exibir o histograma
ui <- fluidPage(
#t?tulo do app
titlePanel("Previsao de custo inicial para montar uma franquia"),
fluidRow(
column(4,
... |
b9fbc45899804aa82a489d2f57b0bfe3e0c751a9 | ef456f8a94ca3168fe04e09b37c2fcba1379135c | /modules/dependen_dropdown.R | ad965a1675a0f4d6430dce76a2172cb28ecf2d81 | [] | no_license | alencaru/shipapp | ae435cd348c3a5beaaff74757e3d4d2134c339a7 | e635248f49e52c9a21af2d1f9a370765d6c27b4e | refs/heads/main | 2023-02-21T12:18:07.394457 | 2021-01-24T11:23:45 | 2021-01-24T11:23:45 | 332,394,905 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 859 | r | dependen_dropdown.R | #-------------------------------------------------------------------------------
#
# Module - dependent dropdown
#
#-------------------------------------------------------------------------------
dropdown_shipname_UI <- function(id, filter = NULL) {
ns = NS(id)
list(
dropdown_input(ns("shipname")
... |
f38407dd23a1616f263c9041a9b378ef55cdd302 | 2205d2dd8a493a5035599cdc8b974c2eda339ee4 | /plot4.R | 65fa9c9ee16f8a1794050fec5b0f4ba33269e9c0 | [] | no_license | benjaminwelge/ExData_Plotting1 | 2126ee865a91e9b763f09a8d7b2cceaf60ec2b65 | 94c45da42c9a7c685f0edf98536121dc4a81381e | refs/heads/master | 2021-01-15T12:42:05.940872 | 2014-09-10T09:10:18 | 2014-09-10T09:10:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,416 | r | plot4.R | plot4 <- function(){
## Setting the working directory
setwd("C:\\data_science")
## As this runs on a German laptop I have to switch to English Time setting
## otherweise plot output will show German weekday names
Sys.setlocale("LC_TIME", "English")
## Download and unzip data, but only if we haven't downloaded ... |
f89b6c5b1ca204b6e06b4aa39b5382037073b556 | 34cbdcb751f19743216d86473c59d1c635b920ae | /fetching_specific_genes_v2.R | 5a6c440168dc4239b2486cdb5d183a9dccc510d9 | [] | no_license | michbur/extracting_sequences | 59e1c0d39fab8fe29e9d6706fc6823ae58f43fb9 | 55b8ab2cf27061e16766ccc11fa81f760e79309a | refs/heads/master | 2021-05-14T07:14:29.279568 | 2018-01-06T20:51:33 | 2018-01-06T20:51:33 | 116,257,762 | 0 | 0 | null | 2018-01-04T12:30:04 | 2018-01-04T12:30:04 | null | UTF-8 | R | false | false | 3,561 | r | fetching_specific_genes_v2.R | library(dplyr)
library(pbapply)
library(seqinr)
library(stringr)
genomes_path <- "/home/michal/Dokumenty/Genomy_backup/"
genome_files <- list.files(genomes_path)
gbff_file <- genome_files[1]
get_sequence <- function(ith_file, seq_name) {
all_lines <- readLines(paste0(genomes_path, ith_file))
#grep(pattern = "... |
deb85d5c5ae3851f7e1e9a028860a05543ee69c4 | fcb54c2a955708d84f8ccd233cb07765795e44e5 | /man/find.Rd | c0bbe0b13d5f30271fd94cfab89a3ccdc7349e55 | [
"MIT"
] | permissive | hieuqtran/RVerbalExpressions | b652c9483e1800f11cdfe60b35ffaf7dcc52d4a9 | da44deb3a55cb225f2d827e3a4d7c922c493c68b | refs/heads/master | 2020-04-26T14:06:31.624514 | 2019-03-03T16:23:54 | 2019-03-03T16:23:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,015 | rd | find.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/find.R
\name{find}
\alias{find}
\title{Match an expression (alias for \code{then()}).}
\usage{
find(.data = NULL, value)
}
\arguments{
\item{.data}{Expression to append, typically pulled from the pipe \code{ \%>\% }}
\item{value}{Expression ... |
7e378a70423664e74dad4e8f25cd74d252d6a823 | 8fd6f63de8b96c2cfdc8cb054cafe69ada8349ab | /app.R | c67a44cbcbd143af506ad2ecd7889c67b07ff676 | [] | no_license | Promintzer/analyzr | 679cf84f96db2754f49d82f62c71668b3a44fe92 | 26efd58a5646dd8c7155bd9d56a1f8208a8762e3 | refs/heads/main | 2023-04-11T20:56:25.516831 | 2021-05-13T21:10:57 | 2021-05-13T21:10:57 | 361,424,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50,833 | r | app.R | ###################################
########### ###########
########### analyzr ###########
########### ###########
###################################
# Libraries
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
library(ggplot2)
library(ggthemes)
library(ggExtra)
libr... |
fce9c14ccb920c66fe739c30b364f895bdf93d2e | 42a40d1f9c44007bd0a37b3daa4b975d799e35de | /R/Data-methods.R | 12eb76e81fd88bb408b28e5633479701b9c66b4c | [] | no_license | cran/crmPack | cb11c2a9a49c7662206ad2e7a576f854010949a2 | 2325e3fef8dbfd4d68f0fd918bf377d27dfff573 | refs/heads/master | 2022-09-27T13:51:37.214576 | 2022-09-02T22:00:11 | 2022-09-02T22:00:11 | 48,078,571 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,808 | r | Data-methods.R | #####################################################################################
## Author: Daniel Sabanes Bove [sabanesd *a*t* roche *.* com],
## Wai Yin Yeung [ w *.*yeung1 *a*t* lancaster *.* ac *.* uk]
## Project: Object-oriented implementation of CRM designs
##
## Time-stamp: <[Data-methods.R] by DSB ... |
6d06c4d2ff3bd2f015e52d24150d16f3b4678644 | 2764143779bda1d3a777b1311a27506498704cad | /R/autoLearn.R | 83975787ab6bcba5405218035edd2af43a945b99 | [
"MIT"
] | permissive | hansvomkreuz/autoML | 7ed716170c8d3e3ea33f2f813455c28be0ceb04d | 36af7614f63a4ecb21da735591c7ff509193d33b | refs/heads/master | 2021-01-26T00:17:22.648913 | 2020-02-20T15:46:42 | 2020-02-20T15:46:42 | 243,238,443 | 1 | 0 | MIT | 2020-02-26T10:44:50 | 2020-02-26T10:44:49 | null | UTF-8 | R | false | false | 19,032 | r | autoLearn.R |
#' Automated machine learning training of models
#'
#' Automated training, tuning and validation of machine learning models. Models are tuned and resampling validated on an experiment set and trained on the full set and validated and testing on external sets. Classification models tune the probability threshold ... |
fd36814f3bf0ed927b5919fe0ad877bac80f0906 | f58d73bb5d624a78c329e79a60d5fb06b4c36837 | /inst/MLE/global.R | c2cbf248f2135c4a83261febecf52113aa709641 | [] | no_license | cran/irtDemo | be108fc0c36aa0328f1ed23b5d2c153ed3c0b701 | 3b36e362d74563f404374c8333f11cda023abc70 | refs/heads/master | 2020-04-06T07:01:12.326558 | 2018-04-05T19:29:46 | 2018-04-05T19:29:46 | 57,357,089 | 3 | 5 | null | null | null | null | UTF-8 | R | false | false | 355 | r | global.R | # define prob function
Pfun <- function(theta, delta, D=1, u=1){
z = D*(theta-delta)
P = exp(u*z) / (1 + exp(z))
return(P)
}
deltas <- c(-1.90, -0.60, -0.25, 0.30, 0.45)
thetas <- seq(from=-6, to=6, by=0.001)
N <- length(thetas)
n <- length(deltas)
pji <- matrix(NA,N,n)
logLike <- matrix(NA,N,3)
colnames(logLike... |
9a85f7685dd1e3160cfa6cad7bd949dcac663963 | dde0427523c0da65fe90540b83a59de946aef0f6 | /R/fstat.R | 2f4bdada6a18f5f763a67b0035c73976d84fd576 | [] | no_license | cran/spatclus | 98d445f0e61a4e4488f4ea5a09bea83ab88bb3f5 | 686da4cb39b3e0bf3346a8918b33d88d1974641b | refs/heads/master | 2021-03-12T20:46:00.023494 | 2007-10-02T00:00:00 | 2007-10-02T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,301 | r | fstat.R | critval<-function(q=1,k=2,e)
{
(8.238+1.756*q-0.043*q*q-0.659*k-15.436*e+0.025*q/e)*exp(0.389/k-0.013/(e*k))
}
critvalwdm<-function(q=1,e)
{
(9.039+3.318*q-9.969*e)*exp(-0.03*q-0.327*e)
}
#################################################################
supf<-function(reslst,bc,k,T)
{
nomlst<-reslst
bc<-c(0,bc[[k]],... |
79f0877b95e92ff96f613ec5e096d81c0ac52980 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LogConcDEAD/examples/mlelcd.Rd.R | b4ba134e6a0a6a5787df66f8fa462954db598685 | [] | 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 | 1,567 | r | mlelcd.Rd.R | library(LogConcDEAD)
### Name: mlelcd
### Title: Compute the maximum likelihood estimator of a log-concave
### density
### Aliases: mlelcd
### Keywords: nonparametric multivariate
### ** Examples
## Some simple normal data, and a few plots
x <- matrix(rnorm(200),ncol=2)
lcd <- mlelcd(x)
g <- interplcd(lcd)
par(m... |
d336b82acfaca61a2d575aa1133ddc42e5c2b4cc | 876ffa84231869e97536430bf1e0efc9810b6d12 | /man/pgenlogis.Rd | fd27dcfa2f3286d24ba6826f375e9e3b26b482b6 | [] | no_license | cran/sirt | 3f13a159b57926a51425ae0f530b4650fc690ba7 | a3daefdc2db1141263a5d52025eef37894d54a49 | refs/heads/master | 2023-08-31T23:28:39.426909 | 2023-08-11T09:40:02 | 2023-08-11T10:30:54 | 17,699,690 | 4 | 5 | null | null | null | null | UTF-8 | R | false | false | 3,585 | rd | pgenlogis.Rd | %% File Name: pgenlogis.Rd
%% File Version: 0.281
\name{pgenlogis}
\alias{pgenlogis}
\alias{genlogis.moments}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Calculation of Probabilities and Moments for the
Generalized Logistic Item Response Model
}
\description{
Calculation of proba... |
46d7a1cc0fbbc538cc3bd2f6eb9a494b4123ad52 | 29585dff702209dd446c0ab52ceea046c58e384e | /spsmooth/R/spmgcv.R | edfcdb42ec0c6afb4f0ad1ed6f3d60f6c9d06443 | [] | 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 | 6,050 | r | spmgcv.R | ########################################################################
#
# Extensions to mgcv package allowing a projection Slepian basis
# to be used.
#
########################################################################
########################################################################
#
# Smoot... |
b03235f58b066d1a9dec6903a5758c66cbf09ba3 | 09ba7e6ad79d4ad9d191b374132dac1a9089032c | /UScar.R | 186d0099f00ce9127b544fae36d197e48cec550e | [] | no_license | amrutkinage/Car-Prices | cbdd0fae1c98636af6dab446e041243f53234dd1 | db32fe1c424a8c9780f2c87dd2be6c8028508fb1 | refs/heads/master | 2020-05-03T04:56:50.717011 | 2019-03-29T16:00:19 | 2019-03-29T16:00:19 | 178,436,092 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,659 | r | UScar.R | library(MASS)
library(car)
library(ggplot2)
library(stringr)
library(dplyr)
library(corrplot)
library(cowplot)
car1 = read.csv('C:/Users/admin/Downloads/CarPrice_Assignment.csv')
car12 = read.csv('C:/Users/admin/Downloads/CarPrice_Assignment.csv')
## Checking for duplicates #
length(unique(car1$car_ID)) != di... |
b3b0eea62b51a46cb2b07109c620cad02a8acf24 | d105c853154679b3e66bfff9993bf10eee5ff7d9 | /Project 2/test_interim.R | 5f86035258aad3a201c3c3e7f849e081d754f016 | [] | no_license | finnagin/big-data-group-1 | 1bb70ea81690c01116fa51f8c3b84d84956c9486 | c503870a21c35ae85a1cb44eb30b41791e34b07a | refs/heads/master | 2020-05-05T05:33:28.411355 | 2019-06-07T22:14:00 | 2019-06-07T22:14:00 | 179,756,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,808 | r | test_interim.R | # Project 2 Code
# Group1: Finn Womack, Hisham Jashami, and Rama Krishna Baisetti
# Cactus Classification
library(OpenImageR)
#library(tidyverse)
library(e1071)
library(randomForest)
library(fastAdaboost)
library(gbm)
# Generate files paths
file_dir <- dirname(rstudioapi::getSourceEditorContext()$path)
train_path... |
c69e3a742f4acbd9004a24d8a617ca14d5dcecb2 | 8af2c1daf8406553e939d49d3acd42c24496f592 | /R/shinydetails-package.R | a1245ec69ec735be10f0cd5306a6b5145367fcb6 | [] | no_license | BioGenies/shinydetails | 291e2e00bf75bcbda902992eb2292d423f856e91 | 831603b64439df2f6fb8c00ec64024937d659643 | refs/heads/master | 2023-03-09T20:15:16.781605 | 2021-02-24T13:57:06 | 2021-02-24T13:57:06 | 280,454,375 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 996 | r | shinydetails-package.R | #' shinydetails
#'
#' @description Useful Shiny stuff.
#' @docType package
#' @name shinydetails-package
#' @aliases shinydetails
#' @importFrom ggplot2 ggplot_build
#' @importFrom ggplot2 ggsave
#' @importFrom shiny tabsetPanel
#' @importFrom shiny reactive
#' @importFrom shiny tabPanel
#' @importFrom shiny tagList
#'... |
0f82aff3a51ed1cc4bdc82cf0a2ac46b5237d120 | 01411d60b66af197744af1cb885e77bebe13b912 | /R/split.R | 90b7c716464370ccc70fbda16b0a53632b323294 | [] | no_license | LaAzteca/re2r | a7c3a272860b58a902696947f08d01976336f5d6 | 1b1f4f963d9e3fa00b6259f1fe1eafb414eea734 | refs/heads/master | 2017-12-04T08:22:42.267522 | 2016-12-19T16:54:52 | 2016-12-19T16:54:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,859 | r | split.R | ## This file is part of the 're2r' package for R.
## Copyright (C) 2016, Qin Wenfeng
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions are met:
##
## 1. Redistributions of source code must retain the abo... |
e7b642cea42236263b9f6b3de9511323ee26f0e3 | d6029fa181a9487ebf62b9a74a8d677c0d416fa6 | /main.R | 9b0afe95dc2048cf82dd2758a71ae4553025d5ed | [] | no_license | yingding99/CopulaRC | fea5f907bad38f0e8358d9a1b19280650fdd7392 | 5078181ac0ed13ea2f90a4fc353f4434e438c870 | refs/heads/master | 2020-04-02T11:32:30.197675 | 2018-10-23T20:49:41 | 2018-10-23T20:49:41 | 153,642,616 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,500 | r | main.R | #################################################################################################
### Estimation and Inference under the Clayton-Weibull model for bivariate right-censored data###
##################################################################################################
source("model_functions.R... |
43d42a313d7c40f68c4636a90f1e3539f4bb88d4 | 78e05072507d3667ba2b7e7489ff7ccec3f09c1c | /run_analysis.R | 050bd78e4ef87c2a5e099bc130498f73868c0a70 | [] | no_license | kshitijnt/coursera_test | 9629d871709468fdbe1ffecc7a2b897c070ee3af | 1a48f3f21e020b7c1acfe5d28c0e460cdade5aa1 | refs/heads/master | 2020-03-28T19:39:26.326055 | 2015-03-22T08:03:31 | 2015-03-22T08:03:31 | 30,579,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,523 | r | run_analysis.R | # set working directory
# read activity labels and feature names
setwd("~/coursera_test/UCI_HAR_Dataset")
activitylabel <- read.table("activity_labels.txt", header=FALSE,sep=" ",col.names=c("Code","Label"))
features <- read.table("features.txt", header=FALSE, sep=" ")
featurelabel <- features[,2]
# Read the TEST files... |
2d6b957b731ebf284378c5382adecf283303fd10 | 46eaba664467be3b3098532479e00cc5d7355286 | /source/functions-harvest_rate.R | b9163dcd3f9335e7d9734bb725dde04cb54cb12f | [] | no_license | szjhobbs/sturgeon_pop_model | c3f24db09f1a1b1a4ecb5e699427da1f0786d206 | 953d55f1d4876050735acbe42dace0ee7c4f8a92 | refs/heads/main | 2023-01-30T19:56:20.927231 | 2020-12-11T02:25:38 | 2020-12-11T02:25:38 | 320,441,883 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 348 | r | functions-harvest_rate.R |
# test data - totally made up
dat <- data.frame(
TagVal = c(20, 50, 100),
Rel = c(100, 99, 100),
Ret = c(1, 2, 4)
)
# develop function to get response rate
# (1) calc Ret / Rel for all levels
# (2) for Ret / Ret > 0, find highest reward value (call prime)
# (3) calc for results #1 (less results # 2) result #1... |
b6f399c7cbe876fba70b2169767ade79ed4dfc40 | 7e62bac9b546db47b5ac8dd3fbfcb8e7ca1a634c | /RNA_Seq_scripts/Export_Network_Cytoscape.R | 5d28d84a832e88dac21266f24002e1016b361d6a | [] | no_license | harrisonlab/phytophthora_fragariae | 75deca387ef5b26bad3e439cdb72aa04fa740ea6 | 96f93bbcb36afaf95e5186e5787c51beeca6e9e4 | refs/heads/master | 2021-01-23T19:45:10.146487 | 2020-02-02T17:15:02 | 2020-02-02T17:15:02 | 46,498,660 | 3 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,499 | r | Export_Network_Cytoscape.R | #!/home/adamst/prog/R/R-3.2.5/bin/Rscript
# Load libaries
library("WGCNA")
library("optparse")
# Import option recommended in WGCNA documentation
options(stringsAsFactors = FALSE)
# Parse arguments
opt_list <- list(
make_option("--out_dir", type = "character",
help = "Directory for output to be written to... |
77226cac2920ce9835d498e499ed1e27be4f8e03 | 4dedf112d0f2127af493176387d938a932f45af5 | /R/pfa.R | 0bd6d69dff834d74cdf266ba36348cb4ecbcdb64 | [] | no_license | cran/Correlplot | 6ee53b7d7b157a69f55f62e4ebb5119526534195 | 679244a0c7a25f8cf266310f377bfa9712e4e76a | refs/heads/master | 2023-03-16T08:26:09.358021 | 2023-03-06T22:50:11 | 2023-03-06T22:50:11 | 17,678,545 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,772 | r | pfa.R | pfa <- function(X, option="data", m=2, initial.communality ="R2", crit=0.001, verbose = FALSE)
{
S <- switch(option, cor = X, cov = X, data = cor(X), stop("pfa: invalid value for parameter option"))
p <- ncol(X)
R <- diag(1/sqrt(diag(S)))%*%S%*%diag(1/sqrt(diag(S)))
if(initial.communality=="R2")
#comu <- diag(... |
cff9db5c46d9088582f1e203cba8d898ed643aaa | 31e651cd8a66a3bef518d9025806964ac9cb7095 | /R/kernelSx.R | 2e1919661d8ec060d09e4bd60aa0475ec1865a94 | [] | no_license | cran/ibr | 2975500b65c56e6b4bec7409ec3a344ff9c9d51a | 40dd843b0ae937f6fbee611820cc9a4290b76464 | refs/heads/master | 2021-01-22T08:34:00.049441 | 2017-05-01T20:23:16 | 2017-05-01T20:23:16 | 17,696,739 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 726 | r | kernelSx.R | kernelSx <- function(kernelx="g",X,Xetoile,bx){
poids <- function(kernelx="g",X,bx,valx){
X <- as.matrix(X)
n <- nrow(X)
p <- ncol(X)
VALX <- matrix(rep(valx,n),ncol=p,byrow=TRUE)
BX <- matrix(rep(bx,n),ncol=p,byrow=TRUE)
MAT <- (X-VALX)/BX
if(kernelx=="e"){noyau <- epane}
if(kernelx==... |
3a17a6c786edde102f65283eeee0d7605db4f352 | 86c706879daa18231d5890d24f749fc27900d5be | /man/CleanTempFolder.Rd | 22508f9c1d4424f2fbf94ec8774195e85b114636 | [] | no_license | charlietiddens/rmsfuns | 0b98085936706b9d974cebc7d54795574afd54a1 | 4677ed0455b9b6efe6cbb791a5d922044ce3bded | refs/heads/master | 2021-04-26T22:17:17.066543 | 2017-10-09T06:47:43 | 2017-10-09T06:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 415 | rd | CleanTempFolder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CleanTempFolder.R
\name{CleanTempFolder}
\alias{CleanTempFolder}
\title{CleanTempFolder}
\usage{
CleanTempFolder()
}
\value{
Cleaned R Temp Folder.
}
\description{
This function will clean all the csv files created using ViewXL in the temp fo... |
dd1474ac78415a9155e0256de18ea00b8f1c70b7 | 7a6be82ecc13a6deafa51b207915b08336486d91 | /richness and diversity.R | 3ca63860d96818aec1c033cf948bdd4f75bf756e | [] | no_license | anerigarg/MSc_data | e60ab5293b382a3280b7688bddddbb399bd578d3 | 37b52f80204d8a02d605b3380003e2fc40cee6ab | refs/heads/master | 2023-01-24T11:16:27.387328 | 2020-12-08T19:37:44 | 2020-12-08T19:37:44 | 285,697,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,683 | r | richness and diversity.R | #Richness, Rarefaction and Diversity (accumulation curves)
# packages and palletes ---------------------------------------------------
library(readr)
library(tidyverse)
library(ggplot2)
library(viridis)
library(PNWColors)
library(dplyr)
library(plyr)
library(openxlsx)
library(vegan)
# df files ----... |
efa05fc5a018bd9f23d3798c4fde12606e675947 | 867048395e7b85aee22f6058088ff8de70a6dff2 | /backtester_v4.2/images/analysis image/plot.R | 9a2ce3bcaf9b915342a5e9d01dc9c29c3af479d5 | [] | no_license | whyVeronica/backtester_v4.2 | 348fdb756d7683c83f52d0374c66cd5ede905697 | ad1c3172b236e996ef265f9941091f7e65a9d224 | refs/heads/master | 2016-09-06T03:33:49.229591 | 2015-05-13T15:22:59 | 2015-05-13T15:22:59 | 34,964,458 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 165 | r | plot.R | source('framework/data.R');
dataList <- getData(directory="PART2")
d <- dataList[[10]][1:1100,1:4]
chartSeries(d,type="candlesticks",theme="white",name="Series10") |
b4436e04a6856e4cddd88bfe789521572cab75a8 | 31d2d467030565c44f4d28d42c0e4d225dececaa | /man/item.fit.Rd | 1dde60ea49f1c124ff4f0d6aafa95f7260618540 | [] | no_license | cran/ltm | 84fd858915db9fe1506a40628f61e6500a21ed1c | dbbabfa99fa09ad94113856a6a5ae1535e7b817f | refs/heads/master | 2022-02-25T01:10:01.747125 | 2022-02-18T08:40:02 | 2022-02-18T08:40:02 | 17,697,218 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,840 | rd | item.fit.Rd | \name{item.fit}
\alias{item.fit}
\title{ Item-Fit Statistics and P-values }
\description{
Computation of item fit statistics for \code{ltm}, \code{rasch} and \code{tpm} models.
}
\usage{
item.fit(object, G = 10, FUN = median,
simulate.p.value = FALSE, B = 100)
}
\arguments{
\item{object... |
132730313b735b121799f8a64d2adf7011392148 | 211b734581e0eefb217a864b7ffc6914f170e04e | /project_serie_tempo.R | 8b830930d6407bf7ca7b159d2d8ee16fb64347fe | [] | no_license | fern35/MasterProject | 4b04d5fbb043ca496f2f44fce621335243a0368a | caf330bf8315ab6e5ac862bce47bb67559c5eb44 | refs/heads/master | 2021-05-09T01:45:37.001877 | 2018-03-07T20:12:54 | 2018-03-07T20:12:54 | 119,184,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,630 | r | project_serie_tempo.R | rm(list=objects())
###############packages
library(forecast)
library(RColorBrewer)
library(magrittr)
library(lubridate)
rmse<-function(eps)
{
return(round(sqrt(mean(eps^2,na.rm=TRUE)),digits=0))
}
mape<-function(y,ychap)
{
return(round(100*mean(abs(y-ychap)/abs(y)),digits=10))
}
############... |
79ff1466f02fcd662dcf66b312312eebfc1b0b94 | 781fe5c7f294094d5716bab48a9571e71b8cc952 | /R/add_answer.R | 9fa065c6ce1fa66ce1ca3c5b7f3bdf8a56e27ab8 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Alaburda/pubquizr | 42e5504e38a25308f18641c61dff89cd70627ca6 | 56509618e797d621601f263eda49b266937329a3 | refs/heads/master | 2022-12-26T04:21:12.862999 | 2020-09-24T21:23:00 | 2020-09-24T21:23:00 | 298,101,893 | 0 | 0 | CC0-1.0 | 2020-09-24T21:23:01 | 2020-09-23T21:47:21 | R | UTF-8 | R | false | false | 565 | r | add_answer.R | #' @title Add an answer to your pub quiz slides
#'
#' @description This function knits a child Rmd document with an answer to a question
#' for use in a pub quiz template.
#' Answers are typically presented at the end of the pub quiz slides.
#' @param x ID from a database
#' @keywords question
#' @export
#' @exam... |
1ee285b7a5d3695eebd4126b1466b24ef2dec6fd | d43c132dd7a404c43e3591575723c2acd124121b | /WorldCircumnavigation/MapTheTrip.R | 0fe694ac07eab178dfe7e89c126c002c896ff29e | [] | no_license | KendonDarlington/WorldCircumnavigation | 70e8d37cfb5944027dd59a862581fab96935dfe8 | 67baf8ca9307808ac796566a101f13f46ab79282 | refs/heads/main | 2023-06-05T01:47:38.292301 | 2021-06-25T02:39:17 | 2021-06-25T02:39:17 | 380,102,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 491 | r | MapTheTrip.R | #Import packages
library(leaflet)
library(tidyverse)
#Import the data
dfGeo <- read_csv('Henry Crews Journey - Geo.csv')
#Draw the map
leaflet(data = dfGeo) %>%
addTiles() %>%
addMarkers(lng=~Long, lat=~Lat, label=~Label, labelOptions = labelOptions(noHide = T, direction = "bottom",textsize = "17px")) ... |
8c5c6304769d6f5d150193a34a929ee97787d478 | ef8d37c4edf65252f5c30a7647e52c8f9cf034b5 | /mock_analysis.R | 3f1ab064aef4dee9cb4faeed373cb7f2fc6ed3d3 | [
"MIT"
] | permissive | bsh2/Individual-response-framework | cdbe224d72b9e6933622cc372457110400f98770 | cd1efc79190ace1c7ca375411d6f9c7b03f6840f | refs/heads/master | 2023-05-11T22:39:18.012840 | 2023-05-07T20:40:27 | 2023-05-07T20:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,517 | r | mock_analysis.R | # ==============================================================================
# CONTACT
# ==============================================================================
# b.stephens-hemingway[at]rgu.ac.uk
# ==============================================================================
# IMPORT DATA
# =============... |
21f883166fa6793ec464c91bf11da8ed68881657 | 36ab27740e9f9ac5e7b3f0818b0b8c7e19728bf3 | /cluster.R | be6990123b9427ce5d42ca51fcf04c6195b7e85f | [] | no_license | MenglingHettinger/Large-Scale-Data-Analysis | f4a6790e27d3d51ad9fcd133a269b128cf2f696b | acba8597d4e0c266054ad294a7149edc060ae296 | refs/heads/master | 2021-01-19T11:14:41.138340 | 2016-03-02T16:41:39 | 2016-03-02T16:41:39 | 18,680,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | cluster.R | library(vegan)
data200 <- read.table("20city200_removebias.txt", header = F, sep ="\t")
dataf5 <- read.table("20cityfreq5_removebias.txt", header = F, sep ="\t")
dataf10 <- read.table("20cityfreq10_removebias.txt", header = F, sep ="\t")
dim(data200)
dim(dataf5)
dim(dataf10)
datamatrix200 <- as.matrix(data200)
datamat... |
9370a88f4facb02df32f96167660eec6c5f4aaab | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pifpaf/examples/paf.Rd.R | 2c7d46a969aac117d3b0a0cf27fdad1f3efc23bf | [] | 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 | 6,243 | r | paf.Rd.R | library(pifpaf)
### Name: paf
### Title: Population Attributable Fraction
### Aliases: paf
### ** Examples
#Example 1: Exponential Relative Risk
#--------------------------------------------
set.seed(18427)
X <- data.frame(Exposure = rnorm(100,3,1))
thetahat <- 0.12
rr <- function(X, theta){exp(theta*... |
df40c747246414c48f6b7b7a203396c15308323b | f23e5cb1e2fdaff2f4a00cdd42ab90ebc5ed05b6 | /R/compressedReads.R | 1b42f2b2bae00cacc2057366bc253c98f93d9af7 | [] | no_license | lianos/TagSeq-original | 9bf5811a50d17b0d64af63223e6e8390cc0f655b | 533c5e351d96ff958e2bc1b1ed7828df402cf881 | refs/heads/master | 2021-01-21T11:09:14.368272 | 2013-03-18T15:25:45 | 2013-03-18T15:25:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,763 | r | compressedReads.R | ##
## Not really using these so anymore
##
setValidity("CompressedReads", function(object) {
meta <- values(object)
if (!'count' %in% colnames(meta)) {
return("`count` missing from elementMetadata")
}
TRUE
})
setGeneric("compressReads",
function(x, ...) {
standardGeneric("compressReads")
})
setAs("Com... |
15418d54fd7db959b93f3723cee6d00cfda335a7 | 7aa2a91ca736a78b872e0512b5fe319667f2649a | /global.r | 971ed22d5752152fd228d498a55749554f1406d8 | [] | no_license | yvanlebras/wallace-docker | b5602a229da303c7cef46849d6cc1ed2239bca23 | d437ceeef89add209be3ef9a37ffe83e84b8d82d | refs/heads/master | 2020-08-15T06:28:33.760558 | 2019-11-07T17:18:39 | 2019-11-07T17:18:39 | 215,293,433 | 0 | 1 | null | 2019-11-07T17:18:40 | 2019-10-15T12:29:12 | R | UTF-8 | R | false | false | 38 | r | global.r | library('wallace')
library('rPython')
|
b5e58edf29dfe4c98222badba4b9b3e39626d5ef | ef16e698845df406c55074a3079b12c45b037f78 | /man/cellPopC.Rd | dfca58209686192cc516365f62c6d2f312ded3cd | [] | no_license | kailashbp/CellCODE | 5c738e04112926799c07e958cfa856679aeeb86c | 65b5640bb78da19ca89a6bbe529653485e553a0b | refs/heads/master | 2022-07-12T03:04:21.399082 | 2020-05-12T11:54:06 | 2020-05-12T11:54:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 590 | rd | cellPopC.Rd | \name{cellPopC}
\alias{cellPopC}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Assign cell population using correlation
}
\usage{
cellPopC(data, grp, SPVs)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{data}{
Gene expression data
}
\item{grp}{
Clinical group ... |
d35a23d2f986192e38ff3c16b3772f9fd29b1b4b | 78bd071a206d4f35a02520a27a6d5e0434c152c6 | /R/process_video.R | 0a3024f564192e4d028ffcf40fd6c36d80f2b7a6 | [
"MIT"
] | permissive | Middleton-Lab/KinematicAnalysis | 96c1ab00ee8e24bbf970a9755c2c82c9e36219e9 | 8e1e4e4a064e8f873af4b9ed1eaadefa629ec1d3 | refs/heads/main | 2022-05-01T05:49:42.457253 | 2022-03-25T02:46:33 | 2022-03-25T02:46:33 | 240,816,100 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,853 | r | process_video.R | #' Process video file
#'
#' @param ii integer: row od \code{Trial_Info} to process
#' @param Trial_Info data.frame: Structure containing all the trials to process
#' @param bef_aft string: Before or after flag
#' @param calibration_coords data.frame: Calibration coordinates
#'
#' @return data.frame
#' \enumerate{
#' ... |
f945b89a882808685bf9ddf5ae29981979f0a811 | fa8f04d6013a8664499b2e0c36f78b2dedae1b74 | /man/geom_edge.Rd | 8348edbedc820f2bd599ee4dc44a32463294782e | [
"MIT"
] | permissive | RhiannonEdge/sirgraph | 9a2b3cebf8bae22806dfc7a06760b4c0a7ba7733 | f47eaba3b6d82493913ac489bd9e385c2400bf88 | refs/heads/master | 2021-01-17T23:31:15.217774 | 2014-04-08T14:41:38 | 2014-04-08T14:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 515 | rd | geom_edge.Rd | \name{geom_edge}
\alias{geom_edge}
\title{geom_edge}
\usage{
geom_edge(mapping = NULL, data = NULL, graph = NULL,
directed = FALSE, ...)
}
\arguments{
\item{mapping}{the aesthetic mapping}
\item{data}{data frame}
\item{graph}{the graph}
\item{directed}{currently ignored}
\item{...}{further parameter... |
f424637b1174f20076f683a97bb860df314c300a | 16e0c39a5355479827f56268b2f26fe4654bdd59 | /RandomForest_Text.R | 42fa53ac5c4b2b3a8f8c3b7621acc886a6dc9c12 | [] | no_license | vijaysakhamuri/TextMining-Topic-Modelling | c76c2724b9f8baa34b5db404ccdc343a32564c93 | ed31851818c4e0e532aea527f7820b2670e67b31 | refs/heads/master | 2020-04-06T13:21:56.698496 | 2018-11-14T06:03:23 | 2018-11-14T06:03:23 | 157,496,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | RandomForest_Text.R | ####################################################################
###########
setwd("F:\\DataMining_R\\3_LectureData\\section13")
reviews=read.csv("deceptive-opinion.csv")
head(reviews)
names(reviews)
unique(reviews$polarity)
reviews$text = as.character(reviews$text)
##convert word to numbers
... |
3f97d8ca6690c797b1fc952a4bea59360e543a3d | 9edac818516c2b79a759c72d8285c746f1eef235 | /man/df.stack.Rd | 596cd6dffc5bf7d981551dee1b789c9a75bbf18f | [] | no_license | cran/PMmisc | b49d749b3911a583b0dca7ca94f845a08412216c | c29d91ebd3998fb7e1af1591232ac95d0d617901 | refs/heads/master | 2020-03-15T11:47:58.206657 | 2018-11-21T15:40:03 | 2018-11-21T15:40:03 | 132,128,542 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 801 | rd | df.stack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/df.stack.R
\name{df.stack}
\alias{df.stack}
\title{Stack data frame by one classifier}
\usage{
df.stack(df,name)
}
\arguments{
\item{df}{: a data frame used to stack}
\item{name}{: new variable names of the data frame}
}
\descri... |
9c860c3a46f0de99798d1b1812b270fc6899ab9d | df2b962f7a7dee56c5358cd83c73aa4c051df512 | /R/plot.noia.marloc.R | 95ef0b741e4ee716fd4d462418cea1b090398706 | [] | no_license | cran/noia | 787eb4f7ab9db691f11baff8fa9cde6c2f2c8660 | dacfb23d55f7fb1cb0d22428ff6aafb5d14a5b79 | refs/heads/master | 2023-03-24T11:03:33.032673 | 2023-03-08T07:10:10 | 2023-03-08T07:10:10 | 17,697,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | r | plot.noia.marloc.R | plot.noia.marloc <-
function(x, xlab=NULL, ylim=NULL, ylab=attr(x, "what"), ...)
{
frq <- function(lab) as.numeric(strsplit(lab, split="|", fixed=TRUE)[[1]][2])
allele <- function(lab) strsplit(lab, split="|", fixed=TRUE)[[1]][1]
if (length(dim(x)) > 1) {
stop("Impossible to plot an array. For two dimensions, tr... |
ec824dcae847b1b202112cd2af1f71eb07d0a6c9 | 61ae15bd0c3b0f5f6755baaf55f7e74eb32d7659 | /options/simulate_SV.r | 1c0d4eec77afd601a10e13bc6ea41d8d0ddc6f32 | [] | no_license | anuragr81/research | c162fd8199ffae5f08465f27c943624a9cb807f1 | ee9e5c24da1cc545410fbad30b2e23e1d6438f27 | refs/heads/master | 2023-08-21T14:09:25.001243 | 2023-08-21T14:05:46 | 2023-08-21T14:05:46 | 22,212,095 | 0 | 0 | null | 2023-05-01T22:18:34 | 2014-07-24T12:29:32 | R | UTF-8 | R | false | false | 652 | r | simulate_SV.r |
set.seed(12345)
simulate<-function (n) {
phi <- 0.99 # AR(1) persistence parameter
sigma <- 0.08 # standard deviation of AR(1) noise
mu <- 0.01 # scalar factor in observation process
nu <- 8 # degrees of freedom of the t-distributed error variable in the observation process
g <- obs <- rep(NA,n)
g[1] <- ... |
13d02ac7493372c20ca3aa9d82b71b7fc6856a4f | 2550544b679e91ad8c1ae8e4bb6fc3a37bc90f82 | /scripts/R/post_process_proteomics.R | 6f4b051f12f15fe07ad364d26d0f91f98e70b473 | [] | no_license | mlpaff/phage_attenuation | ba93525ff6dfb59127ad324750b18f365c0812b1 | d704da661ecc37378909042aa85c595def5883a6 | refs/heads/master | 2021-06-19T12:08:04.272137 | 2017-07-13T21:23:34 | 2017-07-13T21:23:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,724 | r | post_process_proteomics.R | ###########################################################################
## This script processes thermo MSF files that have been exported from
## from the Thermo software, after a database search has been conducted.
## The input files contain all peptides detected and the corresponding
## protein groups that they h... |
36814aeb3c184d9ee1ba1639434633f1731b415f | 85fd7570382bdccabc8daf3a41b561efb9cdf622 | /2 Biota/5 GET/code/B.GET.Consume.setup.01.R | 525a420dc489343f49fa3c115a90f0912aaca775 | [] | no_license | AndrewJConstable/EPOCuniverse | 2b86f40d2539cf79a66285cc8cd67d0c391bb669 | e6561eed547befde5b88563f73d96ce9033a5179 | refs/heads/master | 2021-11-25T23:35:40.476219 | 2021-11-17T01:15:33 | 2021-11-17T01:15:33 | 104,179,577 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,313 | r | B.GET.Consume.setup.01.R | # Create S4 method 'consumeSetup'
if (!isGeneric("consumeSetup"))
setGeneric("consumeSetup", function(element, period="Period", ptSA="list", modulenum="numeric", elementnum="numeric",
firstPeriod="numeric", dset="list") standardGeneric("consumeSetup"))
setMethod("consumeSetup", "GET",
function(
... |
adbdc16ed2c0b8fd00fd3edf97d0171ca3750b3e | 8f6565e5310613a58bffb390591dbada2d4d00f7 | /scripts/internal/neigh_smooth.r | 9bf6f415286f64cdbc6be3c2ed2a5ff403226f29 | [] | no_license | AugustT/whats_flying_tonight | 2aa0ee6e85ea87449b2347b877bbe2640437c3d7 | afda2a00ca4df9a4152725812ec65657c1aeac68 | refs/heads/master | 2021-01-18T05:11:10.861463 | 2018-11-16T14:38:43 | 2018-11-16T14:38:43 | 45,030,483 | 0 | 1 | null | 2015-10-27T09:33:47 | 2015-10-27T09:33:47 | null | UTF-8 | R | false | false | 4,145 | r | neigh_smooth.r | neigh_smooth = function(gridref, smooth_radius = 1, square_list = NULL, sq_dimen = 10000, output_type = "neigh_only"){
# NOTE at present gridrefs assumed to be 10km gridrefs however could adapt it to work at other grid sizes
# If squares_list is null then return any square that can be validly converted to a gridrefer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.